yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Themes and Apps] artyxda:
could someone post/create a flashable zip for 5.1.1 LMY48M ? thanks in advance ;)

I can flash a zip from twrp but can't replace apk in the rom :(
[Nexus 5 Themes and Apps] E-lye:
Nexus 5 5.1.1 LMY48M

Will it work with 5.1.1 LMY48M?

Not sure if I should flash with a different build number
[Nexus 5 Themes and Apps] nsg86:
Removed the flashable, as it wasn't working as per intended.
[Nexus 5 Themes and Apps] biontx:
Nexus 5 Rooted Ambient Display stock 5.1.1 LMY48M

https: SL SL plus.google.com SL 103318136338630041897 SL posts SL 6qKjR2c7VNK

replace SL with /
[Nexus 5 Themes and Apps] Petreion:
[MENTION=2430512]raffaele88[/MENTION] i enabled ambient display on galaxy s5 sm-g900f Lollipop by mod systemUI , framework.res end secsettings, the ambient display work fine wen i turn on from the settings button ,but wen i turn off the ambient display stay always on ,i must mod some smali file for full functionality ?

thanks
[Nexus 5 Themes and Apps] umo4u:
please need help

hi.can u please modify the systemui and framework app for me so that i can add ambient display.i am unable to do so,as i am getting so many errors on recompile.kindly find attachment below.thank u in advance :)
[Nexus 5 Themes and Apps] sushanth30:
Does it works on 5.1.1 LMY48M

---------- Post added at 03:30 PM ---------- Previous post was at 02:45 PM ----------

You said replace the apks...but replace it with what?
[Nexus 5 Themes and Apps] nsg86:
Yay,i'm looking for official marshmallow patch, help! :)
[Nexus 5 Themes and Apps] slabua:
I just tried to do it for Marshmallow, but either did I do something wrong, or this time it's not gonna work in the same way. Any news?
[Nexus 5 Themes and Apps] fKm:
I get some errors with Marshmallow too. Can someone help us with this or push me in the right direction?

I already get an error when I try to recompile the SystemUI.apk after the changes.
[Nexus 5 Themes and Apps] slabua:
I don't get any error in decompilation/compilation, just the usual few warnings but that's okay. I had to update apktools though. After substituting the new apks to the system it just sits forever. I didn't have much time to check, maybe tomorrow afternoon I'll check again.
[Nexus 5 Themes and Apps] nsg86:
Hi,any luck on it ?Thanks
[Nexus 5 Themes and Apps] slabua:
Hi everyone, I finally made 2 flashable zips for N5/Marshmallow MRA58K.

Please let me know if everything works fine.

Mirror on GDrive: https://goo.gl/ZPxwXG
[Nexus 5 Themes and Apps] ZenPluS:
Works!! Thanks man. If is possible made a flashable to enable extended power menu
[Nexus 5 Themes and Apps] mistersixt:
Just for info: with the AOSP 6.0 version from BOKROM it does not work unfortunately, after the bootanimation the N5 is just showing a black screen.

Regards, mistersixt.
[Nexus 5 Themes and Apps] ZenPluS:
Obviusly.. Is builded for aosp/stock ROM. If you want ambient display for BOKROM, build zip with system UI and framework of BOKROM
[Nexus 5 Themes and Apps] mistersixt:
I would like to ... but having trouble compiling the APK:

mistersixt@mars:/tmp# ./apktool b SystemUI
I: Using Apktool 2.0.1
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
/tmp/SystemUI/res/values/styles.xml:35: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Small.CalendarViewWeekDayView'.

/tmp/SystemUI/res/values/styles.xml:36: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Small.CalendarViewWeekDayView'.

/tmp/SystemUI/res/values/styles.xml:41: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Small.CalendarViewWeekDayView'.

/tmp/SystemUI/res/values/styles.xml:51: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Small.CalendarViewWeekDayView'.

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/tmp/brut_util_Jar_793845365793058140.tmp, p, --forced-package-id, 127, --min-sdk-version, 23, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0-eng.clyde.20151007.150204, -F, /tmp/APKTOOL4398244037029117517.tmp, -0, arsc, -I, /root/apktool/framework/1.apk, -S, /tmp/SystemUI/res, -M, /tmp/SystemUI/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:459)
at brut.androlib.Androlib.buildResources(Androlib.java:397)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:256)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/tmp/brut_util_Jar_793845365793058140.tmp, p, --forced-package-id, 127, --min-sdk-version, 23, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0-eng.clyde.20151007.150204, -F, /tmp/APKTOOL4398244037029117517.tmp, -0, arsc, -I, /root/apktool/framework/1.apk, -S, /tmp/SystemUI/res, -M, /tmp/SystemUI/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:419)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:445)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/tmp/brut_util_Jar_793845365793058140.tmp, p, --forced-package-id, 127, --min-sdk-version, 23, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0-eng.clyde.20151007.150204, -F, /tmp/APKTOOL4398244037029117517.tmp, -0, arsc, -I, /root/apktool/framework/1.apk, -S, /tmp/SystemUI/res, -M, /tmp/SystemUI/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:413)
... 6 more
mistersixt@mars:/tmp#

The apktool is the latest version, running on Debian Jessie with OpenJDK Java 1.7/7. Any idea what the reason might be?
[Nexus 5 Themes and Apps] nsg86:
Hi, saw that apk tool have latest version 2.0.2, check it out.
[Nexus 5 Themes and Apps] mistersixt:
Same thing with 2.0.2 unfortunately :( .
[Nexus 5 Themes and Apps] nsg86:
Did you try install framework-res.apk before you did the decompile?

apktool if framework-res.apk.

That's what i can think of, hopefully somebody else can help you.
[Nexus 5 Themes and Apps] laugeek57:
Hello,

I tested on xTrasmooth 6.0 rom stock odex ambient display work fine ...:good:

Thank's for this mod :)
[Nexus 5 Themes and Apps] slabua:
What version of apktools are you using? You must use 2.0.2.
[Nexus 5 Themes and Apps] mistersixt:
It is 2.0.2, you can see this in the last output I've posted.

Any other idea maybe?

Regards, mistersixt.
[Nexus 5 Themes and Apps] DjSeNaSs:
I love you thanks!
[Nexus 5 Themes and Apps] r3act:
Could you possibly make this mod for Cataclysm for Nexus 5 Oktober 17 beta?! Thanx!
[Nexus 5 Themes and Apps] slabua:
If you attach your SystemUI.apk and framework-res.apk I can try to make it, but I would have no way to test it myself.
[Nexus 5 Themes and Apps] The-Droidster:
Hi, [MENTION=5647218]slabua[/MENTION], Did you follow the same steps as in the OP for Marshmallow or anything different? I'm going to try it for LeanStock.
[Nexus 5 Themes and Apps] slabua:
Hi, same steps.
[Nexus 5 Themes and Apps] r3act:
Here they are!
[Nexus 5 Themes and Apps] slabua:
I'll have a look at them possibly later today : )
[Nexus 5 Themes and Apps] slabua:
Done. Hope they works, please let us know : )

Btw, why are the files so large? Is it a deodex rom, perhaps?
[Nexus 5 Themes and Apps] slabua:
[MENTION=4396154]r3act[/MENTION] And stock flashable zip. Sorry for the double post, it didn't let me upload them at the same time because they were more than 20MB together.
[Nexus 5 Themes and Apps] r3act:
I don't know? But I can confirm it's working! Thank you VERY much!!!
[Nexus 5 Themes and Apps] slabua:
Cool, that's what matters : )
[Nexus 5 Themes and Apps] Andriy2:
Recompiling error

What can you say?
[Nexus 5 Themes and Apps] dfxos:
Hello, can somebody do the ambient screen for me? G900F S5, Android 5.0 stock ROM.

Here are my files : https://www.dropbox.com/sh/gtv2wao2wi9g2ew/AACNhK36wUxeyjptq3-3SMR2a?dl=0
[Nexus 5 Themes and Apps] starbucks2010:
I tried the method described in OP on my S^ Edge+ with android 5.1.1 but is very buggy. Everytime I pick up my phone, the screen lights up and it never goes off.
[Nexus 5 Themes and Apps] jazzh:
Does this work on 27 October stable cataclysm 6?
[Nexus 5 Themes and Apps] Jahdiel2011:
Just use Apk Studio buddy it will compile and decompile everything for you. All I have to manually do is sign the package after modifying the framework.
[Nexus 5 Themes and Apps] slabua:
Hi everyone, I made 2 flashable zips for N5/Marshmallow 6.0.1 MMB29K.

Please let me know if everything works fine.
[Nexus 5 Themes and Apps] r3act:
Could you please make this mod for the latest Cataclysm Dec8 stable MMB29K edition?
[Nexus 5 Themes and Apps] slabua:
I can try, please attach your SystemUI and framework-res and I'll look at them.
[Nexus 5 Themes and Apps] r3act:
Here you go:
[Nexus 5 Themes and Apps] biontx:
Nexus 5 Rooted Ambient Display for Cataclysm Dec8 MMB29K

Nexus 5 Rooted Ambient Display for Cataclysm Dec8 MMB29K

//------

NOT TESTED: MAKE BU FIRST!

//------

Ambient enabled

https://www.dropbox.com/s/5o91gz1u742vwva/N5CataclysmDec8AmbientDisplayMMB29Kbion.zip?dl=0

//------

Revert = Ambient disabled

https://www.dropbox.com/s/41lfhcx2y2j80uf/N5CataclysmDec8StockMMB29Kbion.zip?dl=0

//------
[Nexus 5 Themes and Apps] r3act:
[MENTION=6663838]biontx[/MENTION]

Seems to work just fine!

Thanks!!
[Nexus 5 Themes and Apps] biontx:
[MENTION=4396154]r3act[/MENTION]

Glad it's working :)
[Nexus 5 Themes and Apps] staol:
Hi,

can you add please ambient display for this files from 5.1.1 N5 port on Note 3?

https://drive.google.com/file/d/0ByZcQxluZ2G3czQ5WmxHRk44NjA/view?usp=sharing
[Nexus 5 Themes and Apps] biontx:
[MENTION=4809734]staol[/MENTION]

I don't understand your question:

I decompiled your framework-res.apk and SystemUI.apk and all the necessary changes are present in the appropriate xml files.

I suppose that flashing those 2 apk files should do the trick?
[Nexus 5 Themes and Apps] tuhinxp04:
I want to edit my MMK29O builds systemui and framework but the problem is i am not find ''systemui/res/values/bools'' this in extrated folder... i am using attached tools please help sir...! Also not find ''framework-res/res/values/string''...!
[Nexus 5 Themes and Apps] biontx:
Nexus 5 Rooted Ambient Display for stock (factory image) 6.0.1 MMB29Q

Nexus 5 Rooted Ambient Display for stock (factory image) 6.0.1 MMB29Q

(NOT for custom roms)

https://developers.google.com/android/nexus/images

//------

Flash it :)

//------

Ambient enabled

https://www.dropbox.com/s/lngtylyrrql78sw/n5ambientdisplay601mmb29qbion.zip?dl=0

//------

Revert = Ambient disabled

https://www.dropbox.com/s/jfxqhguka4a8u9q/n5stock601mmb29qbion.zip?dl=0

//------
[Nexus 5 Themes and Apps] Samhith mSrivatsa:
hey so i cant find the filepath you have mentioned no \value
[Nexus 5 Themes and Apps] and2:
Not extracting or unzipping...you have to decompile by apktool
[Nexus 5 Themes and Apps] winamp26:
Please mirror link
[Nexus 5 Themes and Apps] biontx:
MIRROR: Nexus 5 Rooted Ambient Display for stock (factory image) 6.0.1 MMB29Q

https://plus.google.com/103318136338630041897/posts/i6y1j5ChVPd
[Nexus 5 Themes and Apps] mholloway:
Will this work for the galaxy s6 5.1.1 ?
[Nexus 5 Themes and Apps] biontx:
No, only for Nexus 5
[Nexus 5 Themes and Apps] Ashwin Prasad:
Will this work for MM ROMS too?
[Nexus 5 Themes and Apps] biontx:
I suppose not,, only for Nexus 5 Factory image
[Nexus 5 Themes and Apps] izzatmustakim:
This mod will works on any rom, as long as you decompile, make changes and recompile the framework apk properly. I tried this mod on every custom rom on my note 5, with marshmallow. One quick question, anyone know how to make the proximity sensor working with ambient display? I mean, when you're waving your hand on proximity, then the ambient will light up. Thanks
[Nexus 5 Themes and Apps] Marília de Oliveira:
Working on my rom based on MM. good could add privacy options :good:

---------- Post added at 07:22 PM ---------- Previous post was at 07:21 PM ----------

also wanted to know :D
[Nexus 5 Themes and Apps] aproape:
Gravity screen, works!
[Nexus 5 Themes and Apps] ryan42680:
Ambient Display stays always on my friend, no matter what you do. :/
[Nexus 5 Themes and Apps] nico_vo:
I tried it, but I somehow have problems after booting, where the screen stays black and the device doesn't respond to anything... any advice?

I am trying to do this for cm14.1 on a galaxy s5 mini
[Nexus 5 Themes and Apps] carlitobahsoun:
any planing to this guide work on ux rom plz???? thanks
[Nexus 5 Themes and Apps] nico_vo:
Could you do a guide like this for MM/Nougat ROMs? I tried to do this in CM/LOS 14.1 and it didn't work :(
[Nexus 5 Themes and Apps] yuwang19:
recompile systemui，error appear：how solve these issues？

Exception in thread "main" com.rover12421.shaka.b.l: W: D:\xiaomiapkzhizl_3.3.5_XiaZaiBa\Work\com.android.systemui\res\values\styles.xml:458: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.ActivityChooserView'.

W:

W: D:\xiaomiapkzhizl_3.3.5_XiaZaiBa\Work\com.android.systemui\res\values\styles.xml:537: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.ActivityChooserView'.

W:

W: D:\xiaomiapkzhizl_3.3.5_XiaZaiBa\Work\com.android.systemui\res\values\styles.xml:538: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.ActivityChooserView'.

W:

W: D:\xiaomiapkzhizl_3.3.5_XiaZaiBa\Work\com.android.systemui\res\values\styles.xml:543: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.ActivityChooserView'.

W:

W: D:\xiaomiapkzhizl_3.3.5_XiaZaiBa\Work\com.android.systemui\res\values\styles.xml:552: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Widget.ActivityChooserView'.

W:

at b.a.d.a.a(Unknown Source)

at b.a.d.a.a(Unknown Source)

at b.a.a.a(Unknown Source)

at b.a.a.a(Unknown Source)

at b.a.a.e(Unknown Source)

at b.a.a.a(Unknown Source)

at b.b.a.b(Unknown Source)

at b.b.a.a(Unknown Source)

at com.rover12421.shaka.cli.Main.main(Unknown Source)

Caused by: b.a.B: b.c.a: could not exec (exit code = 1): [C:\Documents and Settings\Administrator\ShakaApktool\windows-x86\bin\aapt.exe, p, --forced-package-id, 127, --min-sdk-version, 23, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0.1, --no-version-vectors, -F, C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\APKTOOL1170803226906208062.tmp, -0, arsc, -I, C:\Documents and Settings\Administrator\AppData\Local\apktool\framework\1.apk, -S, D:\xiaomiapkzhizl_3.3.5_XiaZaiBa\Work\com.android.systemui\res, -M, D:\xiaomiapkzhizl_3.3.5_XiaZaiBa\Work\com.android.systemui\AndroidManifest.xml]

at b.a.d.a.a(Unknown Source)

... 9 more

Caused by: b.c.a: could not exec (exit code = 1): [C:\Documents and Settings\Administrator\ShakaApktool\windows-x86\bin\aapt.exe, p, --forced-package-id, 127, --min-sdk-version, 23, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0.1, --no-version-vectors, -F, C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\APKTOOL1170803226906208062.tmp, -0, arsc, -I, C:\Documents and Settings\Administrator\AppData\Local\apktool\framework\1.apk, -S, D:\xiaomiapkzhizl_3.3.5_XiaZaiBa\Work\com.android.systemui\res, -M, D:\xiaomiapkzhizl_3.3.5_XiaZaiBa\Work\com.android.systemui\AndroidManifest.xml]

at b.e.i.a(Unknown Source)

... 10 more
[Nexus 5 Themes and Apps] meistr91:
hi, thank you a lot. I can confirm it working on LineageOS 14.1 nougat 7.1.2
[Nexus 5 Themes and Apps] Nyuubi:
I'm having a bit of difficulty implementing this line:

<string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
[Nexus 5 Themes and Apps] cnkzlyr:
Im looking on s5 exynos mm stock systemui and there is no folder "values"
[Nexus 5 Themes and Apps] suriyaprakas:
It Is Under "res" Folder.
[Nexus 5 Themes and Apps] suriyaprakas:
Use ApkEditor And Compare Both style.xml And Edit Them .

Then Try Recompiling.
[Nexus 5 Themes and Apps] ragnarokx:
+1 that would be awesome
[Nexus 5 Themes and Apps] luckana:
i am stuck on boot as well. edited everything and compiled. i even tried changing the file's permissions before replacing it but no. bootloop
[Nexus 5 Themes and Apps] raffaele88:
You insert original signature back? (Meta-inf folder and AndroidManifest.xml)
[Nexus 5 Themes and Apps] david279:
I did it for sure and i got stuck on the boot animation
[Nexus 5 Themes and Apps] luckana:
got it booting. i have attached the compiled file

But after all there's no point because ambient display won't work as it's not designed for LCD displays like the one in our n5 and would only cause massive battery drain.. unfortunately
[Nexus 5 Themes and Apps] alexxandro84:
[MENTION=2430512]raffaele88[/MENTION] puoi aiutare anche me che sono italiano e campano come te? :)

E' il mio primo nexus e ho la rom stock con lollipop
[Nexus 5 Themes and Apps] david279:
Theres also some stuff in systemui that needs to be changed as well.

Also how did you get it to boot.
[Nexus 5 Themes and Apps] luckana:
put meta-inf and the manifest from the original folder to build folder and then before replacing the file in system/framework i changed the permissions to rw-r-r. that's what i did and it booted
[Nexus 5 Themes and Apps] raffaele88:
so now work for you?
[Nexus 5 Themes and Apps] Wrapp:
Getting the error below when trying to recompile. Any idea??

---

c:\tmp\Ambient>apktool b framework-res.apk

I: Using Apktool 2.0.0-dirty on framework-res.apk

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN

otExist: apktool.yml

at brut.androlib.Androlib.readMetaFile(Androlib.java:247)

at brut.androlib.Androlib.build(Androlib.java:266)

at brut.androlib.Androlib.build(Androlib.java:258)

at brut.apktool.Main.cmdBuild(Main.java:240)

at brut.apktool.Main.main(Main.java:89)

Caused by: brut.directory.PathNotExist: apktool.yml

at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:

103)

at brut.androlib.Androlib.readMetaFile(Androlib.java:243)

... 4 more
[Nexus 5 Themes and Apps] david279:
apktool b framework-res

apktool b needs to point to the folder not the file.

BTW i finally got it to work.
[Nexus 5 Themes and Apps] fergdizzle9090:
very interested in hearing how well this works with the lcd. if it doesnt cause enormous battery drains im definitely interested.
[Nexus 5 Themes and Apps] Wrapp:
Looks slightly better. Maybe the author could fix it in the OT.

But I'm still not finished. Now it tells me the below, but I cannot find the modified framework-res.apk file afterwards.

Sorry for being so dumb.

c:\tmp\Ambient>apktool b framework-res

I: Using Apktool 2.0.0-dirty on framework-res

W: Could not find sources

I: Checking whether resources has changed...

I: Building resources...

I: Building apk file...
[Nexus 5 Themes and Apps] david279:
Look in the framework-res/dist. Also remember take the files in the framework-res/original folder and add them to the apk. The apk is just like a zip file so just copy them to it.
[Nexus 5 Themes and Apps] david279:
Pretty sure it all works with these additional changes to the SystemUI.apk res/values/bools.xml

true

true

Also this additional change to the frameworks-res.apk in res/values/bools.xml

true

All taken from here http://review.cyanogenmod.org/#/c/76937/

With these combined with the changes in the first post it works all good.

I attached a zip with the files i modded, all you need to do is push them to the appropriate places and set the correct permissions(0644). If someone wants to make a flashable zip go ahead.
[Nexus 5 Themes and Apps] ts1506:
Tested, normal ambient display is working.

But lift up to wake doesnt seem to work even with that patchset.
[Nexus 5 Themes and Apps] nar7esh:
Please make us a .zip mod :)
[Nexus 5 Themes and Apps] david279:
Yea it didn't wake up immediately but after a little shaking it does wake. I though I was going crazy so I sent myself a bunch of test using pushbullet.
[Nexus 5 Themes and Apps] alexxandro84:
is it possible a zip file?

thank you :)

thank you :)

thank you :)
[Nexus 5 Themes and Apps] ts1506:
Can you explain exactly how you are shaking/picking ? Cant seem to get it to respond when screen is off at all (I do have some notifications)
[Nexus 5 Themes and Apps] david279:
I just picked it up. If only seems to do it after the first two blinks.
[Nexus 5 Themes and Apps] Humpie:
It's working for me, except for the picking up thing. On the other hand, my phone is waking up in ambient display mode all the time! Even when lying still on the table. When I power it off, it lights up around three times before it gets to sleep... and even when I don't get a notification at all (except for the ongoing tasker notification) it lights up at random times.
[Nexus 5 Themes and Apps] Humpie:
I made a flashable zip, but I'm not sure it works well, so please backup your framework-res.apk and SystemUI.apk. If you get in a bootloop, change their permissions to 0644. (Don't blame me if something goes wrong, this is the first time I made a flashable zip file)

EDIT: follow the other thread for updates on the zip file
[Nexus 5 Themes and Apps] :
*DELETED"
[Nexus 5 Themes and Apps] david279:
Well maybe I'm just seeing things but it works and I'm happy with that.
[Nexus 5 Themes and Apps] flex360:
i did this last night

it comes on for a couple times then it stops. i think thats how it should work, well its been good for me since i edited the framework-res and systemui last night

one thing i notice is that i get proper notification lights now. it blinks every half second or so. instead of once a minute lol
[Nexus 5 Themes and Apps] ts1506:
Been doing a little reading. Read on sykopompos's thread that pick up to wake actually worked perfectly on a certain test kernel on an older ROM build.

Maybe we are just missing something. Will do a bit of source peeping after my exams end.

I cant think of any sensor which we miss. FYI, even the Moto G 2014 has Ambient Display, and it just has the bare minimum sensors, and it still works. Also according to videos of the Lollipop build on X 2014, it has considerable difficulty waking up, takes multiple tries.
[Nexus 5 Themes and Apps] sykopompos:
Nope, we got it working in aosp now

Sent from my LG-D851
[Nexus 5 Themes and Apps] ts1506:
Possible to adapt over the stock image ? Or needs to be built from source.

EDIT: If yes, could you give me the commit link or something.
[Nexus 5 Themes and Apps] SpasilliumNexus:
You da man! I don't know how I looked over this on Gerrit but I just added it into my AOSP L source. Hopefully it'll work as intended.
[Nexus 5 Themes and Apps] raffaele88:
Guide update,thanks to david279:)
[Nexus 5 Themes and Apps] alexxandro84:
ha entrambe le funzioni? sia accensione display con notifiche, sia accensione display se viene sollevato?

Raffaele non esiste un zip tramite recovery?

è possibile poi attivarlo senza root? mettere una recovery senza root?

Inviato dal mio iPad utilizzando Tapatalk
[Nexus 5 Themes and Apps] sykopompos:
I did it in a overlay but you should be able to add it to the actual config file in the frameworks no problem.

I wasn't even trying to get lift to wake working and instead was working on full rotation and next thing I know, it was working

https://github.com/The-Ancile-Project/vendor_frank/commit/26c702102bca22ae4325d012774f91d941be238f
[Nexus 5 Themes and Apps] Sakaschi:
great, its working on LRX21O thank you for this howto :)
[Nexus 5 Themes and Apps] r7r8:
Flashable Zip

Can anyone please make a flashable zip for this? Please :fingers-crossed:

This is a little difficult for me to do on Windows 10 technical preview
[Nexus 5 Themes and Apps] david279:
I did it on win 10....
[Nexus 5 Themes and Apps] spidey88:
Will this work on n4? Thanks