[MOD] Lockscreen Mod, including SystemUI changes

shaftenberg

Senior Member
Jul 31, 2010
690
738
0
Cologne
Dear guys...

I appreciate your thanks and honour very much! That's fine for me as I got very much from XDA until today and I'm glad being able giving something back to the community.
But please stay away from feature requests for this and that. In the OP I stated that this mod is a "take it or leave it" package, I do this firstly for me and my taste and I'd like to share it for free with you. Happy that so many people like this.
Every user has its own taste and it is impossible for me to fulfill every need, I would have to create 10+ packages then. Here blue LED, there centered clock, here 1% Battery, there bigger font, etc... Impossible :D

So, to clarify and to explain why:

- Thick hour font in the clock widget: NO! I find this disturbing, not to say ugly design. This keeps me from updating my Nexus7 from 4.1.2 to 4.2, so I will never change this in my RAZR for sure.

- Centered clock in status bar: Don't like this, Apple design, just no.

- 1% Battery in status bar: Months ago I had this in AOKP on my old Galaxy Nexus. I find it frustrating to see the battery dropping one percent to another. Every time I switched on the phone, I checked battery number at first, just felt like an OCD patient and got nervous. "Will it last?", "What? Another percent dropped in 10 minutes?" - my god...
I'm so happy now just to see a nice small battery again. When it drops to 15%, it gets red and I know, that I have enough time, because I own a RAZRi with much capacity left... FYI, I modded the 30% blue battery icon, it's slightly smaller than before. You'll see when your phone drops to a third, just relax.

- No, I don't like to write any tutorials for apktool, there are so many good ones here at XDA. Read them just as I did. Take this mod and do whatever you want, learn, be happy and proud of yourself if you do something, what YOU like.

and

- I've done a transparent widget for the blue version though, see OP :)
 

arman68

Senior Member
Sep 22, 2006
286
230
0
In the OP I stated that this mod is a "take it or leave it" package, I do this firstly for me and my taste and I'd like to share it for free with you.
Hear, hear...

I totally understand your point your view, and I do exactly the same with the AIO mod. I do it first and foremost for me. Publishing it here is already additional effort in testing, documenting, more focus on stability, which is very time consuming.

So I would like to say, thank you for your mod, I think lots of people were waiting for something like this. It certainly got me started on adding SystemUI changes to the AIO mod, which I do not think I would have done otherwise.

I have used your SystemUI as a base for my changes. So for those people who want a bold centered clock, and 1% battery mod, you can either install the AIO mod, or just extract the SystemUI.apk from it.

---------- Post added at 06:51 PM ---------- Previous post was at 06:09 PM ----------

- Centered clock in status bar: Don't like this, Apple design, just no.
:laugh: Do I sense some anti-apple feelings?

Actually, I do not agree with you, and I think the centered clock in status bar is great, which is why I added it. But, I did not do it because of apple... For all it is worth, I think apple has lost their edge in the UI design department years ago, and a complete re-haul of iOS is long overdue.

There are a few reasons I think the centered clock is great:
  • It makes for a smooth transition from the locked to unlocked state. When unlocking the phone, I have always found very disturbing the sudden appearance of the clock in the top right corner, and the subsequent shifting to the left of the status icons. Brrrr... it sends chills down my spine :eek: When it is centered, the clock just appears seamlessly, without disturbing the Chi :D
  • It is a bit more visible, and since checking the time is most phone users favourite past time ;) let's make it as convenient as possible. Granted, the top right corner also works well, but the eyes focus naturally toward the middle.
  • Having the clock on the right looks really akward with a battery icon that shows the numerical percentage: too much information (dinosaur brain).
  • It is great, because it was so bloody hard to get working. Properly. Without bugs, without ticker overlap, without notification or status icon overlap!

[RANT]
If you ask me, and even if you don't, the dumbest design is clock widgets: why would anyone want to see the time twice on their small screen? Could one of the clocks be running faster than the other? Either there should be a clock in the status bar and no clock widget, or a clock widget and no clock in the status bar in the home screen (like in the lock screen).
[/RANT]
 

avedeacero

Member
Jan 23, 2012
48
31
0
MMHO
I'm so sorry with you, I'm not asking to you to make a tutorial, only want to read a good one (if you can share a link to it). I don't like centered clock in statusbar, but yes in lockscreen with or without the bold font on hour, is same to me.

I understand you about the requests, I only requesting some help to the master to make my own mods. Thanks a lot for your time shaftenberg.

Sorry if I sound a little rude with my english, but I'm trying and learning a little more every day. Thanks.
 

shaftenberg

Senior Member
Jul 31, 2010
690
738
0
Cologne
I have used your SystemUI as a base for my changes. So for those people who want a bold centered clock, and 1% battery mod, you can either install the AIO mod, or just extract the SystemUI.apk from it.
That's exactly what I wanted to say... Feel free to change whatever you like. Sure, many people don't have the skills or the time to dig into code, I understand this, but then: Glad that Android allows a variety of Mods, choose the one you like the most.

Do I sense some anti-apple feelings?
Yes.

Brrrr... it sends chills down my spine
And I don't like the lost time in the middle of nowhere... :)

Granted, the top right corner also works well, but the eyes focus naturally toward the middle.
No, because the people are used to focus on the LEFT side. Palm Handsets had the clock on the left, which is the most appropriate place for natural reading.
Concerning Android, yes, I'm used to it now, so that's ok for me. But not the middle, please no :D

[RANT]
why would anyone want to see the time twice on their small screen? Could one of the clocks be running faster than the other?
:D
You are absolutely right! Nothing more. That's why I like the design of the lock screen, where the time isn't visible in the status bar.

Bottom line: I will do further work with my mod, if I get something interesting for me. But yes, if you or any other one wants special effects in it, feel free to use my mod as the base for it. Or just ask, where to find the special code, maybe I can help - but don't expect to get a tutorial for things which are written many many times before.
BTW, the apktool-files I provided a few posts before are known for working with RAZRi, so I put them together in a .zip for another user here at XDA.

I'm not asking to you to make a tutorial, only want to read a good one (if you can share a link to it)
Well... There are so many ones, really. Try a google search with "apk manager howto xda".
Maybe these 3 are a good start:
http://forum.xda-developers.com/showthread.php?t=1649771
http://forum.xda-developers.com/showthread.php?t=1665674
http://forum.xda-developers.com/showthread.php?t=1753659

Just note, that there are different versions of apk manager (which is a frontend for apktool).
And please don't excuse your language, I'm no native english speaker too :D
 
Last edited:

shaftenberg

Senior Member
Jul 31, 2010
690
738
0
Cologne
Update again :)
Finally stays the lock circle in the same position regardless of the music control widget, no more flipping up and down.
Because of that I had to remove the carrier label, but it looks nicer. You see the carrier if you slide down the status bar, think that's enough.

Sorry again, but I've decided to distribute only one package now, because there are too many options which someone might not like. It's a hassle to provide any possible combination (would be 16 now...)

Carrier: yes/no
LED: green/blue
Music widget: solid/transparent
Clock: center/right
...
You know what I mean? :D

Hope you'll understand, thanks anyways!
 

clickstop

Senior Member
Jan 19, 2013
282
48
0
Wow, this mod looks awesome! Just a question, how would i go about reinstalling the original lockscreen if i decided to go back? Just wanna have a fallback in case anything goes wrong :)

Also, would this work on omars rom even with the different kernel? Thanks!
 

shaftenberg

Senior Member
Jul 31, 2010
690
738
0
Cologne
Just replace the framework-res.apk with the original one.
Sure this works with all Jelly Bean ROMs, nothing kernel related there.

[edit]
If someone wants only the lock screen: There is no need to change SytemUI.apk - you may want to leave this out of my package to flash. See OP, what functions are changed in both files, so you can decide.
Important for people who want a 1% Battery icon in status bar: this is not related to the changes in framework, which is responsible for lock screen.
1% Battery is SystemUI.apk :)
 
Last edited:

clickstop

Senior Member
Jan 19, 2013
282
48
0
Just flashed this a couple of days ago, awesome mod! Ran into a bug though, had anyone had the camera open up instead when you swipe to unlock? Not a big issue, just thought I'd mention it.

Sent from my XT890 using xda app-developers app
 

dog121

Senior Member
Oct 24, 2011
1,437
599
143
london
With the help of UOT kitchen I created a mod of shaftenberg's wonderful mod that has a circle / percentage battery icon.
It's in original Holo blue and turns red when it reaches 15%.

Flash like the original mod. You can always go back by reflashing the original mod.
Nice mod thanks one little issue is that there seems to be a slight grey stripe across the status bar when you pull it down is there any chance you could make the status bar transparent that would be awesome great stuff though

Sent from my XT890 using xda premium
 

Karanso

Senior Member
Jan 24, 2011
183
48
48
NdS
With the help of UOT kitchen I created a mod of shaftenberg's wonderful mod that has a circle / percentage battery icon.
It's in original Holo blue and turns red when it reaches 15%.

Flash like the original mod. You can always go back by reflashing the original mod.
Works fine, Thz :)

 

nestori

Senior Member
Mar 23, 2012
123
12
0
Rosario

hypophysis

Senior Member
Oct 12, 2009
114
122
0
Neuburg a.d. Donau
I changed the battery icon to my likings and wanted to share it. I won't do any other mods.

You can easily do it on your own. Google UOT kitchen. Upload your framework-res and systemui.apk and configure the battery icon. Most icons there are made for gingerbread anyhow and I don't think they have that one you are looking for. You have to unzip the zip you get from UOT, change the update-binary with one from a working zip (it needs to be for X86) and rezip again else it won't flash on RAZR i.
 

ZeroProxy

Senior Member
Feb 11, 2010
111
16
0
Revert

In case i want to get my lockscreen back to the one that came with the ROM can i bacukp my framework and system ui apks and flash em with the same zip file replacing the Modded one inside the zip through CWM?
 

shaftenberg

Senior Member
Jul 31, 2010
690
738
0
Cologne
In case i want to get my lockscreen back to the one that came with the ROM can i bacukp my framework and system ui apks and flash em with the same zip file replacing the Modded one inside the zip through CWM?
Yes and no.
The script in the CWM package deletes "SystemUI.odex" - in case you want to get stock app back and you are on an odexed ROM, you need this file. If you are on an deodexed ROM, your solution works.
You may edit the updater-script in the package though...