[General Questions and Answers] durancharles27:
[Noob friendly tutorial]

A typical problem when decreasing the DPI of your device is sometimes the lock screen will offset to the right(usually).

This tutorial might help fix this problem.

Requirements:

1. Rooted device

2. File manager for viewing and managing the root directory (e.g. Root Explorer)

3. Software for decompiling and recompiling .apk files

4. Text editor, I recommend Notepad++

Prerequisite:

Backup your current ROM so that I will not be held responsible for problems the may occur on your device

Instructions:

1. Open Play Store and download "ZipSigner" by Ken Ellindwood

2. Go to the root directory which is designated as "/".

3. Open "system" folder

4. Open "framework" folder

5. Look for "framework-res.apk"

6. Copy "framework-res.apk"

7. Navigate back to your SD card directory and paste it to where you want it.

8. Connect your device to your PC.

9. Expand your phone's the notification bar, press "Charging" and change it to "USB mass storage" and press "OK". Your PC will access your phone's storage directories (SD Card and Phone Storage)

10. On your PC, go to your SD Card's directory and navigate to where you put framework-res.apk and move it to your PC's desktop (you can put it to anywhere you like, just make sure you have it in your PC's storage directory).

11. On your PC, transfer framework-res.apk in the directory of your decompiling/recompiling tool with respect to what "tool" you are using.

Main Part:

12. Decompile framework-res.apk

13. Go to its "decompiled" directory

14. Navigate to /res/layout

15. Look for "keyguard_screen_tab_unlock.xml"

16. Open it with a text editor

17. Look for this line:

<com.android.internal.widget.multiwaveview.GlowPadView

18. Rigt next to this line, look for the lines, "android:gravity" and "android:layout_height".

19. Change their values to "left|top" and "wrap_content" respectively

So "android:gravity" and "android:layout_height" should look like this:

android:gravity="left|top"

and

android:layout_height="wrap_content"

20. Recompile framework-res.apk

21. Sign the new, edited framework-res.apk

22. Place it back to your SD Card

23. Disconnect your device from your PC.

24. Go to your SD Card and navigate to where you have put the modified framework-res.apk

25. Using the ZipSigner app, press "Choose In/Out..." and navigate to where you put the edited framework-res.apk

26. Press "Sign The File" and ZipSigner will begin to produce a signed version of the selected apk.

27. Navigate back to where you have created the edited-and-signed framework-res.apk and it will have a "-signed" in it's name.

28. Remove the "-signed" and MAKE SURE the newly-edited-and-signed framework-res.apk is named AS IS, "framework-res.apk".

*If there are others' named "framework-res.apk" in the same directory, rename them into something different before renaming the "newly-edited-and-signed framework-res.apk" so it won't conflict with step 28.

29. After you have successfully renamed the "newly-edited-and-signed framework-res.apk", copy it.

30. Go to the root directory which is designated as "/".

31. Open "system" folder

32. Open "open "framework" folder

33. And paste-and-overwrite/override the "newly-edited-and-signed framework-res.apk" to this "framework" directory.

Note: If in some case you were prevented to paste in the "framework" directory, check to see if your root file manager is mounting the root, if not check for an option to mount the root directory

34. If you have successfully overwritten/overridden the original framework-res.apk, your device should begin to Soft-Reboot automatically. If not then, manually force your device to reboot.

And your lock screen should now be at the center.

35. Done