I'm a big fan of the Hero slide-to-unlock function, but the only way it appears to get something like this on non-Hero builds is the Lock 2.00 app, which appears to have lots of problems since Android is not designed to have a user replaceable lock screen.
I would like to dive in to the framework and find where the (non-pattern, just push 'menu') lock screen is and see about replacing it. Things like a battery meter, emails, etc., that appear on Hero wouldn't be included since that requires tying in to all sorts of other things, as well as being a battery drain. In my mind ideally it would work as so:
1. Any key press wakes the screen
2. Slide down to unlock
The Android platform source is pretty intimidating when you don't know where to look though. Any devs want to point me to where in the tree the source for the 'Push Menu to unlock' screen is?
layout xml is in core/res/res/layout/keyguard_screen_lock.xml
some strings in core/res/res/values/strings.xml
That should get you started, I'm not sure where the rest of the code is, but this seems to be all Stericson modified.
[edit: I found the keyguard code for you. Check out various files in: android_frameworks_policies_base/phone/com/android/internal/policy/impl/ ]
Ah, OK, that helps, thanks. This will at least let me fix another pet-peeve: the giant carrier name and small date/time under it. (Because I really need to be reminded I'm on T-Mobile's service every time I unlock the phone. Just in case I miss the branding on the handset or the large text in the notification tray or something.)
pm'd you, in case you didn't notice my edit
Aha, there it is in LockScreen.java. As a test I changed it to allow a simple touch to unlock in addition to pressing the menu key. Now to figure out how to build this thing. (Even better, how to build cyanogens ROM, as I know that one works and works well.)
atomtom said:
Aha, there it is in LockScreen.java. As a test I changed it to allow a simple touch to unlock in addition to pressing the menu key. Now to figure out how to build this thing. (Even better, how to build cyanogens ROM, as I know that one works and works well.)
Click to expand...
Click to collapse
My bet would be to message Stericson or Cyanogen for some help compiling it and implementing it if you need it. To my knowledge, the Cyanogen roms still use some mods that Stericson made to the lockscreen.
i was wondering if there's any guides available on how to make custom lock screens. i can't seem to find anything on google regarding it. i saw some of the nice ones noj created and it inspired me to make a few of my own too, but i have no idea where to start.
Here you go:
http://androidforums.com/all-things-root-sprint-hero/48610-guide-creating-custom-lockscreens.html
ajaholic said:
i was wondering if there's any guides available on how to make custom lock screens. i can't seem to find anything on google regarding it. i saw some of the nice ones noj created and it inspired me to make a few of my own too, but i have no idea where to start.
Click to expand...
Click to collapse
I took the lame developer route. I just used winrar to open up an already created lockscreen.zip and just replaced the lockscreen image with my own. Flashed just fine.
jeez ajaholic, have you tried using something called "google" and other search options available?
thanks guys!
ajaholic said:
thanks for the help tatonka, but this guide seems to be pretty basic it's basically just says to do the developer route kbizzle was talking about, which is alright but severely limits the amount of customization you can do. for example you cant change the size of lock screen image or the text. there is a an xml file inside the apk that i believe controls those things, but when i open it up in notepad its in a compiled format not regular text and i can't edit it. does anyone how to edit the xml file?
Click to expand...
Click to collapse
Exactly. It is basic, that was the point of me writing it. So that others could easily create basic custom lockscreens and share with the communities out there. If you are looking for something more elaborate, I would search these forums. But, to save you some time, here are 3 links I have found in my searching that describe how to change time color, etc.
http://forum.xda-developers.com/showthread.php?t=578421&highlight=deodex
http://forum.xda-developers.com/showpost.php?p=4113483&postcount=2
http://forum.xda-developers.com/showthread.php?t=549309
First post on this site, so bear with how horribly round-about this actually is.
Examples are attached, as I can't post outside links, even to images.
Introduction:
Instead of flashing the honeycomb lockscreen to my phone, I decided to set out and create a suitable alternative. I didn't want to dig too deep into my Evo, but I still wanted something that looks good and works. Thankfully, I found a fantastic app that pretty much allows me to do just that already: LockBot.
Many of you may know of LockBot already, but some don't, so here's the basics: it's a free replacement for your lockscreen that allows you to customize it beyond compare. As well, it allows you to use the lockscreens of many other ROMs (Eclair, Hero, Galaxy, among the names) as a basis. With this in mind, it allows you to modify almost everything, all while being free. Did I mention it's completely free? So let's dig in.
Instructions:
First step, download the zip file attached to this post that contains the images you'll need to use in this project. Upload these images onto your phone's SD card in a new directory. You obviously only need to upload the background you wish to use, the lock icon, and the "blank.png" file. Do not upload the .psd file or the "demo" files, as they won't do you any good there.
Then, install LockBot on your phone (I would link to it, but as I'm a new user, I can't post outside links).
With LockBot open, click "New Theme". Select "Eclair" from the menu (if you bought the paid application you can select Galaxy for a more realistic experience).
Hit "Menu" up in the top right corner of the screen. Change your background to be that of your selected style (if you chose to use the Eclair lockscreen, select "eclair-bg.png").
Select "Menu" again to edit the clock. Select digital, and then tap on the clock itself to edit it. Select "Hide Clock Background" to remove that ugly grey line.
Tap the clock again and this time choose "edit clock". On the first dropdown under "Date Font" select the option you want. I chose "Sunday, February 20", for example. After you have selected the correct date format, hit your phone's back button to get out of the menu.
Tap "Menu" again and select "Style". Click your style once again to confirm what you want to go with, and then tap on the slide bar. Click "Change Unlock ICON" and change it to the lock.png file included in the zip folder.
Before you change the Slider Background, make sure you click "Move Slider" and align the lock icon with the circle on the background. Be sure to keep it a little below the correct placement. For some reason, LockBot isn't great on exact placement for this one feature. You can adjust for it, however.
After you have moved the unlock icon, change every other icon to the "blank.png" file, including the slider background itself.
When you are done, hit menu and then save. Your new theme will be in the "My Themes" section of the app. This is where you have to select which lockscreen you want to see...
Hit your phone's menu button to bring up the "Playlist" option. Select it. From here, uncheck every theme except for your new theme. If you don't do this step, it will randomly select between all of the other themes to display when you turn your phone on.
Hit the back button to get out of the menu.
You are almost done! Right now, when you unlock your phone, you get a vibration. If you wish to edit that or remove it completely, hit your phone's back button until you get to the app's main menu. Hit your phone's menu button and select "Config". Select "Vibrate" and select your preference.
Now you are done.
To revert these changes, simply uninstall the app and delete the folder of images from your SD card. Unistalling the app will give you your stock lockscreen back.
Known Issues:
- The clock doesn't have the correct font. This can be fixed by using a live wallpaper for your background. I don't have one, but it can be quickly and simply created.
- Once in a rare while the lockscreen will skip right to the home screen. This all depends on how much RAM your phone has free at that moment, but this application doesn't use much at all. As well, it may take a couple seconds after your phone has been put to sleep before the lockscreen will come back. Quickly hitting the sleep button twice might just skip the lockscreen all together. Give it a couple seconds of sleep to realize it needs to launch the lockscreen.
- Using the Eclair lockscreen, the lock icon can only go in one direction or the other, not in a free motion like the real Honeycomb lockscreen. This is kind of solved by using the Galaxy version of the lockscreen Even then, however, if you use the standard clock (instead of using a live wallpaper), it drags the clock along with the lock icon. Other than that, the Galaxy option works flawlessly, as if it really were Honeycomb. Please note: the Galaxy option works perfectly if you use a live wallpaper for the clock! This is the closest we can get to the Honeycomb lock screen with this method. It does cost money for the paid app to use this option, however.
If anybody can create a live wallpaper, much in the same nature as the "wp_clock_light" from the Market, please contact me or leave a post here. Creating a live wallpaper with the correct font would mean that this project can be completely authentic.
Also, one last note: in the zip file, I have included the .psd of the images. The original size for the background image is 513x855 simply to get around some random (and odd) limits that the developer of the app put in. You can use the "city_wallpaper.jpg" file to create a background image of any size. This will allow you to use this method on any phone you want. Obviously, this is intended for the Evo primarily because that's the phone I own, and it's the only phone I have access to. This works on any 2.2+, as far as I know. If the app works with your phone, then this method works, too. I'm pretty sure this doesn't require a root, but I'm not the author of the app, I simply used this as the quickest, easiest method of getting what I wanted: the Honeycomb lockscreen. If you have any ports you'd like to include, please post here with the background image files attached. Thanks!
sweet thread im loving the sweet honeycomb lol
here is a link to that app
lockbot
i would provide a pro apk but i don't wanna support piracy
This is fantastic! Great work! I wanted this lock screen the moment I saw it and this is a great alternative! Thank you.
how would you make the wallpaper a live wallpaper?
Download of attachment stops at like 60kb
Doesn*t work for GalaxyTAB and doesn't support Landscape Mode for me..
Doesn't give the feeling of Honeycomb to me :/
Ok, I'm at a loss. I downloaded Pro so I could utilize the Galaxy option, and for the life of me, I can't get my lockscreen to look like the screenshots... How did you manage to get the lock icon and the so?derived background to line up????
My clock moves also...
Wow, didn't realize I was getting hits on this thread. Like I said in the OP, you can select the "style" from the top right, hit the type of style you want, and select to move the slide around from the menu (select "move slider"). You must use the appropriate background, however.
Honda, you are correct that there is no landscape mode. That is a limitation if the app, unfortunately. As well, you will gave to use the OSD file I provided to create a larger background for the tab. This was designed for phones, not tablets. You are more than welcome to use it on the tab, but you will have to do some extra work for it.
One last note: when I first created this thread, I submitted my work to the developer to be added to the gallery. Now, you can simply launch the app, go to the gallery, hit the "Eclair" tab, scroll to February 20th, and select the one entitled "Honeycomb by Mark". I see someone already took my background and work and tried submitting a Galaxy version, but it is horribly buggy, and the developer hasn't added my Galaxy version to the gallery. The Eclair version I submits works fine, however. You can download that I'd you have the Pro version of the app (the free version is unable to download themes).
Let me know it anyone is having any other problems, I would be more than happy to try and help you.
Sent from my PC36100 using XDA App
i made something like this today on iphone theme.
EvoShift
Works on the EvoShift from Sprint.
Only issue being the stock HTC Lock Screen still appears once in a while and couple of clicks for the sleep button will take it out but it will show up once again later....there is no way to disable it.
Mine's a non-rooted evoshift.
going to try this out now, just going to install lockbot pro the legal way and then put this honeycomb lockscreen on my desire z
when he says you would need a live wallpaper i think he means a live wallpaper that has a a live clock and the wallpaper...well thats what i think.
Just a slight update... my walkthrough has been spotted and picked up on AndroidNG, and that article is the #1 Google search result when you search for "Android Honeycomb Lockscreen"!!!! This is huge for me, and I'm excited. Squeeeee!
Sorry. That is all.
Note: Again, can't post links because of my low post count, even though my guide has helped a lot of people, and has been proven to be useful for those that want the Honeycomb Lockscreen without rooting their phones... strange world we live in. Just Google "Android Honeycomb Lockscreen" and click the first link. I am "Method I".
Edit: Yes, the live wallpaper of the clock is only necessary if you want the Honeycomb font for the clock itself. If you don't care about the font, you don't need it. As of right now, I don't think there's a Honeycomb clock live wallpaper, but I don't know enough to make one. Wish I did. As for the issues with the app itself: yes, there are some bugs, and it occasionally hiccups and shows you the stock lockscreen. This is just the nature of the beast when it comes to this app. Bugs happen, but this is the closest we can get to perfect for now.
Thanks again for reading and trying this method out, I appreciate all the great responses!
would love to try.. but it seems a little daunting.. scared me off for now
It really isn't. Basically: download the zip, put the images you want on your phone, download LockBot and place the images and parts as you want. Easy enough.
Sent from my PC36100 using XDA App
Just so I'm sure I've done everything correctly: when the phone first boots, I see the default (system) lock screen, not the LockBot version. Is there any way around that?
Other than this one (relatively minor) issue, it's fantastic - thank you very much!
Unfortunately, Google has set a five second lock out for apps once a button is hit and the device being turned on. In those five seconds, nothing can be run. Some security measure our something, I don't pretend to know what it means, but it is supposedly there. That is, scouring to the developer, the reason for it. The solution: give your phone five seconds after hitting a button and turning the phone on again. Good luck!
Sent from my PC36100 using XDA App
Wow! Thanks... it really works for my Motorola Milestone.
http://youtu.be/IPHvEuhumbA
Hey guys, I just wanted to do a quick update.
First off, thank you all for the major success of this guide! It has been so much fun watching youtube videos featuring my work. I'm just happy that I could make a difference to some of you. Now for the great news...
If you have and old, pirated version of Lockbot Pro or free, get the latest version (1.17.1)!!! This new version comes with a legit honeycomb lockscreen. It looks beautiful! Even if you don't have the app legally, you need to. Donating money to the creater of this app is worth it. I'm trying to get in contact with him, but so far no luck in getting even more features. Maybe he is just working on it. I giggly recommend getting lockbot pro now, as it is so worth it. Just trust me.
I also once again want to make clear: I only created the images in the zip file (except the background, but the circle is me ); I did not create the app. I cannot say enough about how good the developer is, though. Buy the pro version! I will post screens later.
Sent from my PC36100 using XDA App
So I'm curious about looks vs. functionality
Each one of my little drawings here satisfy both.
First off, I apologize for being a retard and using cam scanner to make these images sideways (although they were right side up originally).
Seeing as I can't attach images directly from my phone onto this site, I had to email them to myself, download them and then re attach.
Also another retard thing, I made a home button (app) thing on both of them even though there is a physical one on the phone itself.
Have a look
Also clarify with me which is which (theme or ROM).
How hard is it to design/engineer this and actually have everything function properly?
Theme/ROM 1
Them/ROM
it looks like you want to pull the whole status bar to the bottom of your phone. i didnt think you could just move that stuff around. a Dev would would be able to give u a yes or no.
im leaning more towards a theme than a Rom. but you can only theme what the Rom has. and NO rom has that, that i know of. so its like a combination of both.
Those drawings appear to be a significant layout overhaul, a la Sense and Touchwiz
It would either be:
1) a full-blown ROM
2) A replacement for a number of system apps (but could be an add-on), at the very least the launcher and probably the lockscreen
More than just basic theming, that's for sure.
Well it certainly gives the phone a neater, "in my opinion more efficient" functionality.
The one with the radial app dial, that spins, (you guys probably could tell that already) can fit either 7 or 8 apps.
When you press the home button the phone app automatically aligns directly above the said home button (non physical assuming there are 7 apps not 8).
The apps that go on the radial thing-a-ma-jig are your primary apps.
However since that non-physical home button is not needed, then the phone would be in the center or perhaps you'd like the browser.
In any case whichever app you use most extensively (ie #1).
I certainly cannot do any of the ROM creating but I was hoping to spark interest with the ones who are able to do so with ease.
The one with the triangle side bars (next image) these have 1-3 icons on them, when you tap that icon the first time a box will come up over lapping everything else in the background (or with slight opacity) and that gives you more detail rather than just an icon.
I think it would be neat as hell if this was done.
So is it like, theme = aesthetics ; rom = function
In this case I'd like to do both.
Also the capability to assign any app in that 7-8 slot (radial) would also be nice.
Perhaps done through the command prompt.
This is a feature I picked up from a blackberry (ability to assign any icon to a specific design/theme).
Thanks for the interest, I'm going to try and fix the orientation.
Some of what you're looking to do (the home-dial concept) may be doable without any ROM development at all - after all, plenty of launchers are installable as apps and what you're describing there is a launcher concept.
Notification bar moving could be a lot harder though.
FYI I'm a kernel guy not an app developer, so I can't help you much other than say that I'm fairly certain one of the features you want to implement can be done as a launcher app for any ROM.
Alright alright, we're sifting through sonething here.
I have very little knowledge od 'kernel' 'launchable' 'rom' as far as developing them goes. Are there tutorials ? (search bar probably)
Thanks for your contributions
What about color (borders keys etc)
Nice drawings man
Sent from my SAMSUNG-SGH-I997 using xda premium
Hey thanks DevilDogAK
It's one thing to draw the idea by hand but to actually create it with code...
That's where the tires hit the road one might say.
I need to do some reading to get an idea of what I have to accomplish.
Thanks for the interest, as always it starts with a dream
I'll let you guys know whats up when I actually get to the point of dev
But team work goes a long way (hint hint hint)
sweet... great concept imo, & hey, cyanogen started with just a concept. wish i knew more to help you out, but we're with you in spirit nice drawings too lol
from Sams inFuse... inFused GB
About the launcher comment, does having two mean more computing power needed to run the first and second launcher or can I just do one primary launcher?
If I can just move things around, what about putting some notification components under the wheel? Components such as the wifi toggle and the data image or perhaps the data and battery.
Anyone smart enough to do that probably isn't dicking around on XDA. You never know though.
Well... I'm here
Haha just kidding, I do wish somebody with some experience knowledge (ie developer of Serendipity etc... ) a man can dream... a man can dream.