[Miscellaneous Android Development] aicjofs:
1. Glad to share :D

2. If you and others think modding the UI is worthy of it's own thread I guess I could make something. Would I post it in this section of forum if I did? XDA always makes me feel like I am a small child playing in Daddy's workshop.(Side note: most frustrating thing I have ever done on the web was getting enough posts here to post in development sections, I lurk by nature because I usually find the info I need and don't need to post, so the limited amount of sections of the forum I was allowed to post was frustrating. I'm posting these idiotic replies on topics that I could care less about so I can move on to a meaningful conversation) Anyway I just don't want to start a thread in the wrong section.

3. Lock screen modding.

Tools Needed

-7zip Download

-Your favorite picture editor(GIMP, Photoshop, etc)

-An Android file explorer that can browse /system. I use ES File Explorer, get one from Play Store.

-(optional for flashable zip) A text editor that has Unix formatting. Windows users should garb Notepad++ Download

-(optional for flashable zip) A zip file that is ready to flash and you just add your mod. Download

Have a nandroid backup or at a minimum save the original framework-res.apk.

Quick steps

1) framework-res.apk is the file we want to add our modded pics to. It's located at /system/framework/ Use an Android File explorer to grab, and put on your computer.​

2) open framework-res.apk with 7zip and navigate to /res/drawable-600dp-mdpi​

-Major files are:

ic_lockscreen_handle_pressed.png (1440x903 Background)

ic_lockscreen_handle_normal.png (1440x903 Background)

nabi_circle.png (184x238 The Nabi circle. Make this a blank transparent png if you want it gone from your screen. I have a blank one to save time here Download)

unlock_directions.png (88x91) The lock symbol. Doesn't have to be modified, only if you are feeling frisky.)
​

I just use same picture for the "normal" and "pressed", might be able to do some cool transition if you made some part of the picture transparent for the pressed versus normal.​

3) Change your modded pictures to the above respective filenames and drag your mods from windows explorer into 7zip to the /res/drawable-600dp-mdpi​

4) Put the framework-res.apk back in /system/framework. Reboot to TWRP, Go to the Mount tab and mount "system". Use TWRP File Manager to put file back.​

(Optional flashable zip)​

5) Extract the lockorig.zip to a location on your computer​

6) Navigate to /system/framework folder and overwrite the framework-res.apk with your modded one.​

Note: At this point you could just skip to step 9 if you don't mind having the wording in TWRP look wrong.​

7) Back out of /system/framework and navigate to \META-INF\com\google\android folder and open the updater-script with Notepad++​

8) Modify the line ui_print("Uninstalling custom lockscreen"); to your mod. i.e. ui_print("Coolest Nabi Lockscreen...Installing.");​

9) Back out of \META-INF\com\google\android. You should be in a folder with only 2 folders, system and META-INF. Select BOTH folders. Right click and zip up.​

Note: If you get error 6(maybe it's 3 I forget) in TWRP it's because your update-script didn't get saved in unix format.​

---------- Post added at 07:51 PM ---------- Previous post was at 07:42 PM ----------

Build.prop