yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] chislon:
Thanks for the report for the Nexus 7. I checked out some videos and realized that tablets don't have a camera swipe gesture on the lockscreen. Checking the 'camera' option doesn't really hurt anything though, at least as of the currently available Android API.

Functionally the app is not going to change much. The icon is hideous, but I know it's annoying to have to update for something minor like that, so that's not coming until there's a good idea for something that needs to be in the app.

It doesn't do anything for devices not running Android 4.2. If your device runs Android 4.2 already, you will see it in the Play Store.
[Samsung Galaxy Nexus] knzo:
Alright, when I flash back 4.2 I'll see if I can download from Play, thanks.
[Samsung Galaxy Nexus] treetz:
APK Download?

Hey, could you please share the APK?

I can't download it on Play Store because my Galaxy Nexus on 4.2 seems to be incompatible...
[Samsung Galaxy Nexus] AnsenBayer:
Allow Clock Replacement Widget?

Thanks for getting this app up so quickly!

I know you're probably not going to add much to it, but I have one request. Is it possible to make it work with clock replacement widgets like the "Fixed 4.2 Clock Widget" (can't link to it in the Play Store because I haven't posted 10 times yet).

That widget fixes the weird bolded-hour clock thing Google decided to do for 4.2, but I can't use it if I disable widgets with your app. If there was a way to disable the addition of new widgets (swiping to the left) but still allow a replacement widget on the primary lock screen, that would be perfect.
[Samsung Galaxy Nexus] Turbocom:
Would it be possible to disable Google Now? I'd really appreciate that ability. How did Google screw the lock screen so bad?!
[Samsung Galaxy Nexus] xaueious:
Not sure how the clock widget can be changed.

Also noticed that if a music player has lockscreen widgets, they show up on a new page...

You can disable system apps in Android 4.2. If you disable Google Search in Applications, you lose the swipe up gesture from the soft buttons, but the lockscreen will still show a weird looking dot where Google Now is activated.
[Samsung Galaxy Nexus] slider112:
Was just thinking the exact same thing. You're right, if this could be done it would be absolutely perfect. :good:
[Samsung Galaxy Nexus] refoot:
Why oh why do we have to look at that awful clock font? If only there was a way to remove it completely. And why did they decide to have that place holder flash up on the left every single time I unlock? I know I can add a widget, there's no need to remind me every single time I unlock!
[Samsung Galaxy Nexus] chislon:
I don't think I see a good way of changing the default widget unless you replace the system clock app.
[Samsung Galaxy Nexus] mshaw03:
Works perfectly on nexus 4. Those white boxes at the side were really annoying - thanks for the app!
[Samsung Galaxy Nexus] revolt1:
Thankyou
[Samsung Galaxy Nexus] mongonexus:
thankyou for the app,, its tits in my book:cyclops:
[Samsung Galaxy Nexus] raven_raven:
That's exactly my case, it was driving me nuts. I was about to reflash Android 4.1.2, when I saw your app. Thank you so much, now I can use Android 4.2. Already passed it to my friends, they were as annoyed as I was :).

I don't know what Google was thinking with this lockscreen. Terrible idea, if you ask me.
[Samsung Galaxy Nexus] zAm1987:
A huge thanks to you for this app!

Since I updated my GNex I really started to HATE ist because of those damn flashing boxes. Thought even about undoing the update.. fortunately I found your app here :o
[Samsung Galaxy Nexus] AndyGnex:
This will also disable the FixedClock app, so it will revert back to the uber ugly stock 4.2 clock...

Well, at least the annoying boxes are gone...
[Samsung Galaxy Nexus] mkabani:
Thankyou so so so much. This application is a lifesaver. As with everyone else, I was this close to downgrade to 4.1.x.

Again thankyou so much. You are a life saver.
[Samsung Galaxy Nexus] SahilC:
Hey, can someone please post the apk?

I live in India, and it says its not compatible with my GNex for some reason. :(
[Samsung Galaxy Nexus] kBTWOFOUR:
Just what I needed...

I want to confirm it works for the Inspire 4G with CodefireX 4.2.
[Samsung Galaxy Nexus] Matridom:
Thank you so much for this! keep up the good work.
[Samsung Galaxy Nexus] franklinlucas:
Awesome app, I hated those widgets.

May I ask you something: is it possible to implement a toggle so the clock widget on the lock screen stays expanded as default? I think it would be awesome! My idea is to see the screen like the attachment when I unlock the phone. If I wanted to unlock it, I would touch the padlock and the pattern lock widget would appear.

Thank you so much!

Enviado de meu Galaxy Nexus usando o Tapatalk 2
[Samsung Galaxy Nexus] jxr94:
On a fresh install, if you don't remove the right-aligned clock that comes stock, isn't that one skinny for both hours and minutes?

View attachment 1505564
[Samsung Galaxy Nexus] AndyGnex:
On a fresh install of what? If you are refering to 4.2 JB, then i dunno, mine was half bold half skinny since day one... :crying:
[Samsung Galaxy Nexus] plasticities:
the skinny one is the AOSP clock, the half bold/half skinny one is the google clock.
[Samsung Galaxy Nexus] xaueious:
The app controls whether or not widgets show up. All the feature requests you guys have are direct changes to either system apps (DeskClock) or the system framework, meaning root...

Stuff like having the lockscreen expanded by default is almostly certainly a system framework change. Ask your custom ROM maker or DIY.

Did some investigation, and here the easiest working workaround to get the 'right-aligned' clock without bold hours. This only apples to Google compiiled ROMS, not AOSP ROMs.

With root shell, type the following exactly: (adb shell..., su required if you don't have insecure shell)

su
pm disable com.google.android.deskclock/com.android.alarmclock.DigitalAppWidgetProvider

To bring it back

su
pm enable com.google.android.deskclock/com.android.alarmclock.DigitalAppWidgetProvider

This has the added side effect of disabling the digital clock widget completely.

* * *

About the right-aligned clock (default status widget)

The right aligned clock is a built-in clock (ClockView) in the framework lockscreen code. It's the 'DefaultStatusWidget' (layout file at https://android.googlesource.com/pl.../core/res/res/layout/keyguard_status_view.xml)

The conditions for this right-aligned clock showing up are here: https://android.googlesource.com/pl...al/policy/impl/keyguard/KeyguardHostView.java

Also see: https://android.googlesource.com/pl...android/internal/widget/LockPatternUtils.java

Why AOSP builds are not affected

In the secure Android settings, the entry of interest:

lock_screen_fallback_appwidget_id:

In LockPatternUtils.java, the code saves a alternate default fallback widget from the function writeFallbackAppWidgetId. The call is made from KeyguardHostView.java to look for an alternate default clock widget, using framework strings 'widget_default_package_name and widget_default_class_name'.

Google definitely renamed their DeskClock package and perhaps added additional code to it, because it has the package name of com.google.android.deskclock on my Galaxy Nexus. AOSP builds of DeskClock end up with the package name of com.android.alarmclock.

They probably have a framework device overlay for: https://github.com/android/platform_frameworks_base/blob/master/core/res/res/values/config.xml

I have not decompiled my framework-res.apk (used this one instead), but I see that Google uses the following in their config overlay:

<string name="widget_default_package_name">com.google.android.deskclock</string>
<string name="widget_default_class_name">com.android.alarmclock.DigitalAppWidgetProvider</string>

It doesn't look like these values are up in the AOSP device files.
[Samsung Galaxy Nexus] dvdbos:
Fast question (thank you very much for your work BTW): is there any chance to let the display switch back off if I don't want to unlock the phone but just see what time is it?

I'm asking this because now with 4.2 if i press power button, the display stays on for the same time that it stays on when it is not on sleep! Back with 4.1.2 it switched off after about 5 sec i guess, not after 30.. And this behavior is annoying!
[Samsung Galaxy Nexus] chislon:
Disabling the DeskClock's widget broadcast receiver will make the bold-hour go away. I have no plans to work this into the app though.

My GNex is certainly not exhibiting the same behavior as your phone and always shuts off after 5 seconds even after the 4.2 update. It sounds like you have an irregular wakelock on your device. Check for apps listening to screen-on events.
[Samsung Galaxy Nexus] Visual_Serg:
Works perfectly. Thanks for the app!
[Samsung Galaxy Nexus] dvdbos:
Thanks for the answer. But, how can I do that? :confused:
[Samsung Galaxy Nexus] TheRomMistress:
After installing this, I lost the functionality to swipe up for Google Now. I uninstalled it, and still have the same issue. BTW, on my N4

Edit: It also seems to have interfered with the app "Notification Weather"
[Samsung Galaxy Nexus] FatalityBoyZahy:
Here's a video I made if anyone still wants to see this app in action.

[YOUTUBE]3zgR2BpdUKQ[/YOUTUBE]
[Samsung Galaxy Nexus] chislon:
To check the screen wake problem, I was thinking that it might be a wakelock. See if you installed an app that has the permission to do that.

I've uploaded the APK for users who can't get to it on the Play Store...

That's a head scratcher, to be honest... My Google Now works fine and I don't use Notification Weather.

In 4.2, Google Now's swipe up gesture was moved to the location of the home button is and represented by a dotted ring. This isn't something my app did though. Maybe this answers your question?
[Samsung Galaxy Nexus] dvdbos:
I uninstalled ALL the apps asking for wake lock permission (PermissionDog was helpful), but no improvement at all.

I restored all to defaults flashing back 4.2, no improvement.

A friend did the upgrade yesterday and without installing this had the screen that didn't turn off like me after 5 sec but after 30, so i thing it MIGHT be something stock from 4.2 or something from an app we both use and that still have to be fixed for 4.2 and the new lockscreen
[Samsung Galaxy Nexus] SahilC:
Can someone please post the apk? I can't get it from the play store. Please?

Edit: Woops. Checked the OP. Sorry.
[Samsung Galaxy Nexus] Vybramo:
10kkkkk Thanks for u
[Samsung Galaxy Nexus] bagl0312:
Thanks a lot your app works perfectly on a stock galaxy nexus with 4.2
[Samsung Galaxy Nexus] chislon:
Updated to v1.2, adding functionality to disable the bold-hour widget. Root access is required. Access this via the menu in the action bar.

This 'Clock Hack' does have some drawbacks:

digital clock can no longer be selected on the homescreen (or the lockscreen)

thin-clock does not show world clocks from the clock app

upper right corner clock will be hidden with the thin clock in the foreground

clicking on the clock widget no longer launches the clock app

What this actually does is disable the digital clock widget from the clock app, forcing Android to use the built-in one Google hid.

The bold-hour clock is speciifc to Google firmware and all custom ROMs using DeskClock and frameworks from a stock Google ROM. AOSP builds are not affected.
[Samsung Galaxy Nexus] XVII:
How can I restore thin-clock, if I remove the application?

TNX
[Samsung Galaxy Nexus] xaueious:
Just rerun the 'Clock hack'.
[Samsung Galaxy Nexus] fury-s12:
great app, dont know what they were thinking with those flashy bar things.

has anyone found a viable solution to get the camera etc back onto the unlock circle thing, i tried widgetlocker but it wouldn't work correctly on my gnex, any other options?
[Samsung Galaxy Nexus] 3bs11:
Just installed this. Seems to be working fine so far. Thanks OP
[Samsung Galaxy Nexus] rgomesf:
Hi.

I'm using xylon ROM and if I disable Camera and Widgets, I loose the bold-hour clock on the lock screen. If I only disable camera, the bold-hour clock shows ok. Is there a way of disable both and keep bold-hour clock?

Thanks.
[Samsung Galaxy Nexus] xaueious:
You are running a custom ROM with the thin-hour clock set to default fallback. Ask your ROM developer to fix this.
[Samsung Galaxy Nexus] ashishb2012:
Want my bold clock back

i ran the clock hack and now i miss my bold clock...any way to fix it?:crying:
[Samsung Galaxy Nexus] chislon:
I've been asked a few times already. Sorry for not making it obvious in the app, but all you have to do is run the hack again. If your lockscreen widgets are on, you have to delete the thin-hour clock widget and readd a bold-hour clock widget.

It's explained in the Play Store description. There is a reason why I don't keep track of whether or not you have the hack enabled within the app, but I could have explained this in the dialog better. Sorry for the confusion.
[Samsung Galaxy Nexus] antintyty:
Thanks for this app!! Awesome work!!
[Samsung Galaxy Nexus] Jose Viegas:
The app is great but I think it would be better if when disabling the widgets, the active widget was the current one, not going back to the thin clock, that way, we could chose our widget and get rid of those 'ears'.
[Samsung Galaxy Nexus] Paddington:
This is possibly the most useful app I have besides TiBu. Thank you. Google failed huge with the way it implemented lock screen widgets. I don't understand why they steal ideas from custom ROMs, get everyone excited, and then fail to deliver anything near what the custom ROMs have. The lock screen widgets and toggles both had so much potential and failed so hard.
[Samsung Galaxy Nexus] tegezan:
+1

big thanks for this application... :)
[Samsung Galaxy Nexus] Christiancs1969:
Perfect. :D. You gunna get busy:D

Sent from my GT-I9100 using Xparent Cyan Tapatalk 2
[Samsung Galaxy Nexus] justin860:
May I include this in my package? Full credit to you of course

http://xdaforums.com/showthread.php?p=35485892
[Samsung Galaxy Nexus] BlackJack313:
Great app, is there any chance the "clock hack" clock could be centered at all like the bold clock is?
[Samsung Galaxy Nexus] poena:
I just want the old way of swiping into camera and google now... :eek:
[Samsung Galaxy Nexus] kubics:
Probably alternative lockscreen like Widgetlocker could serve you.
[Samsung Galaxy Nexus] TheByteSmasher:
Question

I have a friend w/ CM10. on his lock screen, he can set what opens when he drags the lock in different directions. Is this available on stock 4.2.1? Thanks!
[Samsung Galaxy Nexus] Sinergie:
I experienced exactly the same thing with 4.2. Seems like default stock 4.2 behaviour and if chislon is not experiencing this, that's probably because of some custom adjustment. Google probably did this to give you more time to interact with the new lockscreen functionality, since otherwise it will become annoying for sure when you are looking at widgets and your screen power offs every 5 seconds.

Anyway I tried this app, but I missed the camera shortcut like on 4.1. Actually the only thing bothering me from the new lock screen are the placeholders on the sides which show up every time you turn on your screen.

Eventually I went back to 4.1.2, too many things bothering me in 4.2/4.2.1.
[Samsung Galaxy Nexus] chislon:
Go ahead. I have no problems with that. Just don't mod the package too much so the users can update if I do end up pushing an update to the Play Store.

No. The clock hack clock is in the framework, so that's a custom ROM change.

I don't think that's available.
[Samsung Galaxy Nexus] durkaganesh:
Thank you very much

thanks a ton chislon. you really saved me from this annoying feature.:good:
[Samsung Galaxy Nexus] justin860:
Thank you

Sent from my Nexus 7
[Samsung Galaxy Nexus] jallenhayslett:
Any chance of getting a link to this package outside the Play Store? I'm in China and whenever I try to dl it tells me the package is not found. No Restrictions and Market Enabler are applied.
[Samsung Galaxy Nexus] felagund:
Thank you! This is exactly what I needed!

Cheers and happy holidays!
[Samsung Galaxy Nexus] bobbinthreadbare:
Thank you for this. I couldn't stand looking at those widget boxes. I don't know what Google was thinking not at least giving us the option to turn that junk off. Most hideous lock screen addition ever.
[Samsung Galaxy Nexus] curti.nogg:
It's in the OP.
[Samsung Galaxy Nexus] LinuxFanatic:
I was looking for a solution to disable lookscreen widgets, this is a simple and effective solution. Thank you very much my friend! Well done! :good: :highfive:
[Samsung Galaxy Nexus] scottx .:
Really neat. Glad to disable that silly camera. I can see why Google did that (swipe cam) but its just not for me.

Thanks.
[Samsung Galaxy Nexus] Ghelfalath:
Thank you Big time!!

I was looking forward for this, at last that stupid camera is off!
[Samsung Galaxy Nexus] matthew0776:
Flash the chronus clock apk... Gives you the option to change it to bold or normal clock font settings.
[Samsung Galaxy Nexus] robrob777:
Hello,

1st Sorry because this is not the N10 forum

I ran the Clock root thing to make the clock skinnier , even though it says device is not supported, the clock got skinnier.

I tried to revert it back by running it again but it will say again that device is not supported and clock remains thin, no matter how many times I run it, clock remains skinny.

So I though I could get back my bold clock by wiping the device, but no luck, I tried installing another ROM, but again same problem.

Skinny clock will survive full wipe (with system and data format), factory reset, ROM flash, etc.

I'm not sure what to do to get the bold clock back.

Nexus 10, 4.2.1, widgets policy off.

THanks
[Samsung Galaxy Nexus] koltrast_:
Thank you mate! Exactly what I was looking for!
[Samsung Galaxy Nexus] vNa5h:
IS there any way to disable just the widget pages...

coz i need the chronus(CM) widget to be on the main lockscrren page

---------- Post added at 04:06 PM ---------- Previous post was at 04:06 PM ----------

that bold clock is the chronus widget
[Samsung Galaxy Nexus] chislon:
Definitely not the fault of the app.

You need to flash to a stock ROM to use the bold hour clock in the lockscreen with widgets disabled, or use a custom ROM with the bold clock setup in in the lockscreen when widgets are disabled.
[Samsung Galaxy Nexus] robrob777:
Thanks Man,

I was using AOSP Rom, I switched to Modaco ROM and I got the clock back.

What it amazed me is that I flashed the factory image to the N10, boot setup the device bold clock is there, flash AOSP ROM and after the first boot(no apps installed), the clock would be skinny. lol

Anyway now everything is fine
[Samsung Galaxy Nexus] Stainless7221:
The main thing which annoys me are the bars to the left and the right, i am using the chronos widget though, i find it very useful.

Is there a way to disable the bars at left and right without disabling the widgets all together?

I would be even happy if only the bars disappeared, the screens can stay, i dont really care ;)
[Samsung Galaxy Nexus] Christiancs1969:
Re: [APP] Lockscreen Policy - Disable Android 4.2 Lockscreen Widgets, Camera

I can on rootbox aokp;)

If you are on aokp maybe lockscreen settings?
[Samsung Galaxy Nexus] Christiancs1969:
Re: [APP] Lockscreen Policy - Disable Android 4.2 Lockscreen Widgets, Camera

View attachment 1670758

Sent from my GT-I9100 using Xparent Cyan Tapatalk 2
[Samsung Galaxy Nexus] Stainless7221:
I'm on CM 10.1, it does not have that setting -.-

I was on AOKP before, but it isn't available for my One S atm.

But now i know at least that it is somehow possible to remove those bars.

Maybe chislon could add it as an option in his great little app ;)
[Samsung Galaxy Nexus] Dodge93:
thank you!

Looked a long time for this App! :good:
[Samsung Galaxy Nexus] cab354:
Anyone use this with pattern lock?

I keep running into the issue where if I accidentally start swiping my pattern in the clock area, it maximizes the clock widget...

I tried this app to disable that from happening, but it persists...

Any thought?
[Samsung Galaxy Nexus] adriank87:
I'm looking for solution for that as well, without luck so far. It would be great to disable widgets pages, but also to allow user to choose which widgets he wants to on lockscreen at the same time. Perfect solution IMHO.

Great app though, thanks :)
[Samsung Galaxy Nexus] xaueious:
Tested under 4.2.2 and working, Galaxy Nexus.

Google removed the useless side-to-side animation with this policy active :)

If you want the default widget to be anything but the bold clock, you needed a custom ROM before 4.2.1. Not sure about 4.2.2 until Google releases sources.
[Samsung Galaxy Nexus] Raijin:
Re: [APP] Lockscreen Policy - Disable Android 4.2 Lockscreen Widgets, Camera

If you want the old clock, just install this app and add the widget.

https://play.google.com/store/apps/details?id=com.chilisapps.android.icsClockFree
[Samsung Galaxy Nexus] andreas__:
its weird. try this:

disable widgets and camera, lock the phone

now turn on the srceen, the clock isn't bolded and on the right side

turn off screen without unlocking and turn on again

now its bolded again and the animation is back

i'm using bigxie's one (btw its awesome)
[Samsung Galaxy Nexus] chislon:
Sorry guys.

Under 4.2.2, several users have reported that the lockscreen clock widget toggles between the centered bold hour clock (DigitalClock from DeskClock) and the right non-bold hour clock (frameworks clock). I've tested this to be true under the following conditions:

bold hour clock removal hack disabled

camera -> on/off

widgets -> off

This strange behavior is most likely an Android operating system bug. If someone figures out how this can be fixed, I can update this app to include that. But until then, I know this is going to render the app useless for many of you :(

If you are rooted, there is 'sort of' a workaround for this:

Enabling the bold hour clock removal hack will at least give you a consistent looking clock (always non-bold). This is why I never noticed until someone emailed me.

I haven't had the time to look into this yet, but someone needs to look at what Google screwed up under the framework source code to see if this is something I can include as a fix into this app:

https://android.googlesource.com/pl...rc/com/android/internal/policy/impl/keyguard/

Specifically there's probably a logical fail under this file here somewhere:

https://android.googlesource.com/pl...al/policy/impl/keyguard/KeyguardHostView.java

I haven't had the time to file the bug to Google yet... Needs more testing.
[Samsung Galaxy Nexus] andreas__:
AW: [APP] Lockscreen Policy - Disable Android 4.2 Lockscreen Widgets, Camera

Sorry but where to find that hack ? :)

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] Christiancs1969:
Re: [APP] Lockscreen Policy - Disable Android 4.2 Lockscreen Widgets, Camera

In app ;)

s2 rootbox
[Samsung Galaxy Nexus] chislon:
For the 4.2.2 problem, Logcat shows that the widget is being removed and a new one is created every other time the screen turns on. I found the frameworks commit that causes the widget removal, but I couldn't spot the problem during my quick glance into the code and don't have a AOSP test bed to check this against.

I filed the bug with Google here: http://code.google.com/p/android/issues/detail?id=48164

I also notified an Android team engineer about the issue, and he said he might look into this. Hopefully it will make it into the next Android release.
[Samsung Galaxy Nexus] ogre_x:
Bummer that it seems to be an Android bug. I'll keep Lockscreen Policy installed in order to get a notification if you manage to do some workaround in the app. For now Lockscreen policy isn't that useful unfortunately. Thanks for trying to get to the bottom of the problem with the Googlers.
[Samsung Galaxy Nexus] andreas__:
AW: [APP] Lockscreen Policy - Disable Android 4.2 Lockscreen Widgets, Camera

Well its working pretty good with his workaround, for me the app is still very useful

Sent from my Galaxy Nexus