[Android Themes] Gumby63:
Lockscreen Mods! This post is a continuous WIP!

Updated 9/13

​

Before we do anything, here are the prerequisites you need:

1. You will need a program called VTS (Virtuous Ten Studio) You can get that here. This is made by the same brilliant minds that created the original m10tools.

2. Idlescreen_Base.apk. That apk is where all of the edits I will be describing are located in.

3. Last but not least, patience. Lots of patience. ;)

If you know how to use VTS, then skip this!

Alright now that you have VTS installed, open it up. In the top left corner click on file -> new project.

Choose M10-Project, and pick your project and solution name. Now click on "import" on the left column and navigate to your Idlescreen_base.apk then click ok.

Now you're ready to get your hands dirty!

Section 1: Time, date, operator, am/pm, and unlock text.

This section will be used to describe all of the amazing things you can do to things in the title.

Navigate to the folder as seen in the screenshot:

And double click lockscreen_time.x10

Scroll down a little bit, and you will see a property labeled: "lockscreen_time"

Any edits you make to this property will affect everything. Meaning Time, date, operator, am/pm etc.

So lets say you want to move the all of that to the left side of the screen. Press the + box to the left to unfold the properties. You will see a bunch of different values like so:

Let's take a look at "offset" :

There are three values. 0:0:0

The first value is what controls where it sits on the screen horizontally.

The second value is what controls where it sits on the screen vertically.

The third value controls..well..I'm not too sure yet. Anytime I make an edit to it it moves everything diagonally.

Negative values move things to the left of the screen. Positive values move things to the right of the screen.

Pro tip: don't mess with the third one. It is MUCH easier to just play with the first two values.

Now let's move everyhting to the left side of screen! So change the first value to -220 and click "save" on the top left. So it looks like: -220:0:0

Okay so let's test your edit. Go over to the left hand column with all of the folders and right click your project name and select "build project" and then "push to device".

An alternative method you can do that I personally use is to click "push all" at the top. That will build your apk and push it to the device in you step. Do not do that method if you have more than one project open in your solution. It will push both projects.

Now there are two ways you can reboot. They are:

1. Click on the ADB tab and select reboot. Done! When you reboot your new lockscreen should be staring you in the face.

2. I prefer this way beacsue you dont have to wait for the reboot, and it's easier on your device. Click on the ADB tab, and open an ADB Shell prompt. Type in "am force-stop com.htc.idlescreen.shortcut" without quotes. This restarts the lockscreen process with your fresh edit.

Pro tip(s): You don't need to re-type that every time, just simply press the up arrow key and then press enter. Also, I have it so my phone never sleeps while charging. That eliminates the problem of having to turn the screen back on every time it turns itself off.

Next up we have "CenterScale"

This value determines the size of the text.

Duce explained this pretty well in a post, so I'm going to quote him on that.

Those two properties are the two most important/most used in my opinion. Everything else is pretty self explanatory.

Okay. so I shrunk everything and moved it to the left. Now that I look at it, I kinda want to get rid of the date. How do I do that?

Hiding things from the lockscreen is probably the easiest thing you can do.

In the same x10, find these properties:

"text.lockscreentime_operator"

-Service Provider (Sprint, ATT, Verizon etc)

"text.lockscreentime_time"

"text.lockscreentime_ampm"

"text.lockscreentime_date"

"textcomp.pull_unlock"

-The text " pull ring to unlock"

Under every property, you will find a line like this:

<Bool Name="Visible" Header="239748898" IDC="true">true</Bool>

Change that to:

<Bool Name="Visible" Header="239748898" IDC="true">false</Bool>

And BOOM whatever you want gone will no longer be there. Pretty simple.

So that pretty much sums up this section.

Section 2: Lockring & Shortcuts.

This is where it can start to get a little complicated. These are the x10's you will be making edits to:

Lockscreen_container.x10

Lockscreen_ring.x10

Locksceen_ringcontainers.x10

Lockscreen_shortcut.x20

More to come!

Some examples of what is possible are attached.