yashsingh1/xdaforums huggingface dataset:
[Nexus 6  General] fedef12evo:
delete line from build.prop and delete file from system/etc
[Nexus 6  General] stas333:
Within the first hours I noticed that the screen brightness is adjusted quicker.
[Nexus 6  General] mumboender:
Whoever said it is right. Cell performance does seem worse. Especially handoffs between towers and data from WiFi to LTE I have had to reboot to get any data after leaving my wifi, but after I did it held on to LTE without issue... Again this is just real world examples it could just he a coincidence.
[Nexus 6  General] Casper34:
I could not have a conversation on the phone. The other persons words were being broken up real bad. Like the speaker was turning off and on about 120 times a minute.

As for reverting, all I did was change the line to 0 and direct the to the file name of the same with .bak added. No issues since.
[Nexus 6  General] fedef12evo:
7hours Sot using only assertive display, before was 5
[Nexus 6  General] mumboender:
Definitely have issues with data handoff between WiFi and LTE each time I have to reboot before it will give me any data when I leave WiFi area... But man the battery savings are almost worth it..
[Nexus 6  General] ebanreb37:
Can we install this on other phones line OnePlus 2?
[Nexus 6  General] fedef12evo:
yes,try it
[Nexus 6  General] ebanreb37:
So I just flash that in twrp?

---------- Post added at 08:23 PM ---------- Previous post was at 08:23 PM ----------

Will that work also with x86 device such as Zenfone 2?
[Nexus 6  General] fedef12evo:
i dont know,try it i removed flashable zip because it added some line that interfere with radio modem, so you have to do it manually
[Nexus 6  General] ebanreb37:
How do it do that then?
[Nexus 6  General] fedef12evo:
It is explained in the first post
[Nexus 6  General] swarls:
So if I understood this right, to make use of assertive display I have to use auto brightness? Or will it work without it?

And so far I had no issues with wifi to lte transition, everything works as intended.

Can't say anything about battery life tho, as I just installed this mod a hour ago.
[Nexus 6  General] fedef12evo:
i think it works anyway
[Nexus 6  General] NLBeev:
That is probably the main point.
[Nexus 6  General] berndt_toast:
Attached is a modified zip with only the Assertive Display build.prop change.
[Nexus 6  General] MustBeTrippin:
Is it working? Not sure yet. Went back to stock kernel (from despair which is awesome) for the upcoming OTA, so I'll monitor the results.
[Nexus 6  General] Jonathan030:
This might be some kind of extreme placebo effect but: I'm now on day 2 using this tweak (assertive display only) and I feel like it absolutely works.

I'm a very heavy user.

Latest Chroma build with elementalx kernel.

Went from about 3.5h SOT to 4.5h over a long day.

Display brightness also seems to react to ambient light more quickly.
[Nexus 6  General] Nexus11:
Okay. I'll push my luck on my G3
[Nexus 6  General] imex99:
Hmmm, anyone else test this out?

Guess I'll give it a go later this evening...
[Nexus 6  General] fedef12evo:
already tried on g3 stock rom and it works :good:
[Nexus 6  General] MustBeTrippin:
From what I could tell, this is really the only difference I could feel. I've since went the disable Google services route, which really helps with idle/deep sleep.
[Nexus 6  General] stas333:
I'm not really seeing any difference at all with this mod. Had it on the phone for 3 or 4 days now.
[Nexus 6  General] bill3508:
Seems to be working good for me. Did both the low power modem and the brightness tweak.
[Nexus 6  General] StrizzMatik:
Would this be recommended for Project Fi users?
[Nexus 6  General] GjorgiDxc:
"adding debug.sf.hw=1 to build.prop make phone faster and use less battery"

Is this automatically done with flashing the zip, or we have to add it manually?
[Nexus 6  General] stas333:
All you have to do is flash the zip. It does everything needed.
[Nexus 6  General] GjorgiDxc:
Well, I checked and you are wrong. The flashable zip doesn't add this line.
[Nexus 6  General] berndt_toast:
To modify the zip to include that line, do the following:

1) Download zip

2) Extract zip to PC

3) Modify add_to_buildprop.sh to include your code from above

4) Rezip

or for those who don't want to go through that hassle, use the zip attached here.
[Nexus 6  General] an21281:
Just used this zip, thanks. The only thing is it puts the build prop entries at the end right after tethering without any spaces. So tethering stopped working, easy to edit and fix
[Nexus 6  General] umpireflux:
has anyone properly confirmed this works?
[Nexus 6  General] jody2k:
This is definately working and i wonder why this mod hasnt got more credit
[Nexus 6  General] monkeystorm:
can i flash this zip on xtrasmooth ? i'll try when i can download the xtrasmooth zip
[Nexus 6  General] fedef12evo:
try it, havent tried on M
[Nexus 6  General] Face_Plant:
I just flashed it on stock rooted M with no issues. It's too early to tell if it's actually helping the battery, though. I'll report back tomorrow if I remember.
[Nexus 6  General] stas333:
I updated to M and went 100% stock to compare it to performance of my note 5. So far, my nexus is not even close in battery performance
[Nexus 6  General] JimSmith94:
So is it better or worse?
[Nexus 6  General] stas333:
Haven't played with the nexus 6 much yet. But before the M, I would get 5-5.5 hours SOT with a bunch of mods to conserve battery with same as stock performance. Straight out of the box, the note 5 is around 7 hours SOT
[Nexus 6  General] ambervals6:
Display is not efficient at all. Will never compare to newest phones battery life.

Sent from my SAMSUNG-SM-N920A
[Nexus 6  General] bradputt:
It's strange after flashing I check the ad_config file it's empty.

There's a file but inside there's nothing.

Anyway I manually copy and paste, reset permission and now I'll monitor the progress.

I think you miss out the following

# Modem power save enabled

persist.radio.add_power_save=1

# Limit Modem signaling to save power

persist.radio.data_no_toggle=1

Thanks anyway.
[Nexus 6  General] skghosh.mail:
Is it advisable to be used in asus ZenFone 5 x86 architecture? If so then which tweaks should I use? I should mention here, that my service provider has very poor signal and coverage.
[Nexus 6  General] anakdayak:
Can this be apply to my z1 sock deodex 5.1.1?
[Nexus 6  General] berndt_toast:
My file has a bunch of data in it. Not sure what happened on your end. And we removed the modem power save lines because it was causing issues handing off data from wifi to 4G and vice versa. If you want to add them back in, you can follow my steps above to do so.
[Nexus 6  General] carlz28:
I couldn't get the file in /etc to flash properly as the poster a few posts back mentioned. It was there, but 0bytes. I believe it was a combination of ElementalX kernel and a beta version of SU that wasn't allowing r/w in system. Certain root apps worked but functionality was limited. So I just went back and flashed the stock(with root) kernel that's posted in the development section. Then applied this mod and everything seems good now. Not sure on the effectiveness yet as I'm only a few hours into usage, but the ambient display certainly 'seems' to be more responsive as its adjusting brightness levels smoother and quicker. 2h49min SOT with 65% battery left. Should be able to hit 5hrs no problem. Nothing dramatically better, but noticeable. I'll take it.
[Nexus 6  General] umpireflux:
What behaviour led you to think it's working? Did ambient brightness adjust faster like others said?

---------- Post added at 04:02 AM ---------- Previous post was at 04:02 AM ----------

Does this only help if you have automatic brightness enabled?
[Nexus 6  General] fedef12evo:
confirmed works on android M
[Nexus 6  General] fedef12evo:
Some screenshots
[Nexus 6  General] LGtMgG2t:
It flashes and adds the proper lines to build.prop for sure. Have you noticed any battery savings or such?
[Nexus 6  General] Paget96:
Are you sure???
[Nexus 6  General] GjorgiDxc:
Now I am sure that the original flashable zip doesn't include this .
[Nexus 6  General] Paget96:
Yeah I know that it isn't but are you sure that this line increase battery?mm

Because that enable hardware composition which drains the battery :)

Thank you :)
[Nexus 6  General] Psych0t1c20:
Does it mess with phone calls?
[Nexus 6  General] LGtMgG2t:
I've seen no adverse affects using this on M ROMs such as Cataclysm and Pure Nexus so far. Not ran them enough to see what battery savings they give though.
[Nexus 6  General] shooly:
supporting Android M ?
[Nexus 6  General] imex99:
OK, reading through all of these posts I see a couple different zips... Which one is the most current and which one is complete for use on my Nexus 6(stock rooted on M 6.0)?
[Nexus 6  General] LGtMgG2t:
Lol See post above yours?

---------- Post added at 10:41 AM ---------- Previous post was at 10:16 AM ----------

I've been using the zip from the OP. Not sure I've seen any others.
[Nexus 6  General] Balino:
I'm missing something. How should this mod save battery? Should I turn adaptive brightness off?
[Nexus 6  General] LGtMgG2t:
It works WITH adaptive brightness.
[Nexus 6  General] Balino:
Thank you dude
[Nexus 6  General] xocomaox:
I use Lux on my phone and manage my own brightness. I'm pretty sure this build.prop edit will not affect me.
[Nexus 6  General] suku_patel_22:
Have flashed the assertive display tweak on my N6 running Cataclysm and Elemental X kernel.

Let's see how this goes. I usually get around 3 hrs of SOT.
[Nexus 6  General] gounikiba:
Installed on 5.1.1 puré nexus. Thank you
[Nexus 6  General] imnuts:
I made the changes, but other than being a little easier to see the screen in bright areas, I haven't noticed and battery life changes

Sent from my Nexus 6
[Nexus 6  General] suku_patel_22:
I have been assertive display in conjunction with adaptive brightness for a day now. I am observing that I can set the brightness around 10-15% lower than usual.
[Nexus 6  General] str8str:
what? There is like 3 scripts in this thread. same questions which is the best to use? There is one in like page 3 that says it was modded to not effect the signal
[Nexus 6  General] grandmasboy:
So what does this actually do? Isn't there adaptive display in N6? I thought its the same thing.
[Nexus 6  General] MaLiXs:
Can anyone tell me if assertive display work well with custom kernel like the one from Franco with custom color profile?

Envoyé de mon Nexus 6 en utilisant Tapatalk
[Nexus 6  General] Osaab:
it does with elementalX kernel

tried this on my nexus 6 running stock marshmallow rooted with elementalX kernel. amazing battery specially while using data. just flashed OP's attached zip via twrp nothing else needed. thank you OP
[Nexus 6  General] tb417:
Trying this on N6 Running PureNexus through MultiRom. Usually get around 3.5-4 hours SOT. Will post result after a couple of days use
[Nexus 6  General] tb417:
Currently getting around the same SOT. So can't say it helped me but it certainly isn't hurting. As someone else said, I can set the brightness a little lower before I find the screen unusable
[Nexus 6  General] LGtMgG2t:
Folks, read back if you have doubts please and dont litter the thread. Yes, it works with MM ROMs so far.
[Nexus 6  General] bobloadmire:
leave it to the guy with the MK2 to be practical about all this.
[Nexus 6  General] hiimimtayaz:
thanks for sharing such a nice tweak.

I gotta say this... This is a "must have" zip when comes to battery saving tweaks. I read all the earlier post before flashing it on my Nexus 5 (Cataclysm - 6.0) & Note 4 (TW DN5 Rom) and it works damn great. No downside so far with incremental change in battery life on my both devices.

I guess similar tweaks like this make sony devices battery friendly.

Thanks again for great work & effort.
[Nexus 6  General] wietse1988:
I'm confused, I thought assertive display is used to for example see text better when you are outside, under bright conditions. But not to save battery. If it saves battery that's wonderfull, but as far as I know, it wasn't designed for that purpose. So could somebody explain what the real purpose of assertive display is?
[Nexus 6  General] an21281:
Yeah I don't know either, the only thing I can think of is that since you can see the screen better then one can also lower the brightness a bit while still being legible to save battery...?
[Nexus 6  General] imnuts:
The idea is, from what I can tell, is that you save battery under conditions that require a brighter screen. That probably explains why I'm not really seeing anything with the change. I keep my screen on manual brightness and as dim as possible. I rarely increase it, unless I'm navigating.

Sent from my Nexus 6
[Nexus 6  General] ComradeCase:
Tested this on my Nexus 6 and it absolutely works. Enabled Adaptive Brightness and watched it go. Got over 24 hours of uptime and 5.5 hours of SOT, a significant increase.
[Nexus 6  General] Bowlstreaker:
OK so I flashed the zip from OP to my rooted Nexus 6 running stock rom and Franco kernel. Adaptive Brightness is enabled, but doesn't seem to be reacting as much to changes in ambient light. I went outside in sunlight and had to manually crank it all the way up to see anything. Can't speak to battery life or any of that, but is there something I'm missing on this?
[Nexus 6  General] an21281:
With adaptive brightness on you can still change the default brightness level(adaptive) , so it depends on where it's set to... With the mod you should be able to have it set a bit lower while still being legible and adaptive brightness should be snappier
[Nexus 6  General] Bowlstreaker:
Gotcha. That's kinda what I figured, but also thought that adaptive brightness would bring it up to an acceptable level in brighter conditions.
[Nexus 6  General] jameseelin:
I don't know what I'm doing wrong but after flashing the zip from op my battery life became horrible, like I lose a percent every 30 seconds :/ Stock Android M rooted.
[Nexus 6  General] simms22:
ok, for everyone thats says it works because they are seeing their battery life as much as 4, 5, and 5+ hours now.. since last november, of 2014, i see between 5-7 hours sot every single day, without any battery "tweaks". what you are seeing is the devices normal battery life.. :p
[Nexus 6  General] imnuts:
The only difference I got with this was a screen that was slightly easier to see in bright light, no change in battery life.

Sent from my Nexus 6
[Nexus 6  General] Hen Ry:
What belongs everything in?

so

echo "# Assertive Display" >> /system/build.prop

echo "ro.qcom.ad=1" >> /system/build.prop

echo "ro.qcom.ad.calib.data=/system/etc/ad_calib.cfg" >> /system/build.prop

or

echo "# Assertive Display" >> /system/build.prop

echo "ro.qcom.ad=1" >> /system/build.prop

echo "ro.qcom.ad.calib.data=/system/etc/ad_calib.cfg" >> /system/build.prop

echo "debug.sf.hw=1" >> /system/build.prop

or

echo "# Assertive Display" >> /system/build.prop

echo "ro.qcom.ad=1" >> /system/build.prop

echo "ro.qcom.ad.calib.data=/system/etc/ad_calib.cfg" >> /system/build.prop

echo "# Modem power save enabled" >> /system/build.prop

echo "persist.radio.add_power_save=1" >> /system/build.prop

echo "# Limit Modem signaling to save power" >> /system/build.prop

echo "persist.radio.data_no_toggle=1" >> /system/build.prop
[Nexus 6  General] anglerstock:
What you say would make sense if everybody used the phone like you. They notice the increace cimpared to their usage.

Sent from my Nexus 6P
[Nexus 6  General] :
Maybe... 5-7 hours sot with the lowest brightness and no wifi or data connection, right?
[Nexus 6  General] suku_patel_22:
I use the assertive display because i like the way it scales brightness, not because of any battery improvements.
[Nexus 6  General] roboots21:
Agreed, same here. It seems to scale it in a much more linear fashion and just seems to work perfect for me.
[Nexus 6  General] mbiscuits:
Thanks for this, working great!
[Nexus 6  General] Ciao600:
Anyone tried this on a Nexus 4?
[Nexus 6  General] jacomail95:
Yeah, it seems working well, i gained a little more battery life without changing my intensive use of the phone

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 6  General] Ciao600:
You have a Pm.
[Nexus 6  General] doitright:
Ok, so couple of things I will make note of;

1) There is no reason for this modification to be applied to the system partition. Properties can be added to /data/local.prop. The second of the two properties specified the *PATH* to the calibration file. In other words, you can put it somewhere else, like /data/system/ad_calib.cfg

EDIT: here is another ad_calib.cfg with different data: https://github.com/TheMuppets/propr...lob/cm-12.1/thor/proprietary/etc/ad_calib.cfg

I wonder if there is a calibration file for something a bit more.... similar?

2) This calibration data is a bit... odd. Shows;

# frame width

720

# frame height

1280

... the z3 is 1920x1080 though. Really weird.

Also, *being* calibration data, one would assume that it should actually be, you know, calibrated to the device it is being used on. z3 isn't even the same display technology, being LCD vs AMOLED. I'm certain that it can be better.

EDIT: These guys are playing with it to manipulate the *TOUCHSCREEN*???

http://xdaforums.com/xperia-m2/themes-apps/touch-enhancements-t3049859/post63279942#post63279942

---------- Post added at 08:42 PM ---------- Previous post was at 08:03 PM ----------

I can't be certain (since it could be a blob reading the calibration data), but there doesn't seem to be anything in the hardware composer that would respond to the calibration data file.

This is the file where the ro.qcom.ad prop is read from;

https://android.googlesource.com/pl...oid-6.0.1_r3/msm8994/libhwcomposer/hwc_ad.cpp

Nothing at all in there about ro.qcom.ad.calib.data

I set the property on mine, just live set it, not even added to any prop file, i.e., "setprop ro.qcom.ad 1", and it seems like the auto-brightness levels are swinging more dramatically than before.

And I'm not even outside.
[Nexus 6  General] simms22:
a little late for an answer, but yes. except for the data connection. i have a great data connection and always keep it active, but i never use wifi.
[Nexus 6  General] doitright:
/sys/class/graphics/fb0/ad

That node will contain (cat /sys/class/graphics/fb0/ad) one of three values; -1, 0, 1

I think those correspond to disabled, off, and on.

---------- Post added at 09:43 PM ---------- Previous post was at 09:07 PM ----------

Ah... ok.

I was scratching my head wondering why the heck I wasn't seeing any impact from anything here.

Turns out... it is actually ONLY applicable to ***VIDEO PLAYBACK***.

Its impact is on the video post processing filters.

https://android.googlesource.com/pl...ay/+/d80659c540b719660c7af9f530445268bc409db6

---------- Post added at 09:52 PM ---------- Previous post was at 09:43 PM ----------

And regardless of it being strictly for video playback, it still can't be activated.

Sorry people, but this stuff is actually obsolete or not applicable. In order to actually do anything, it needs to be supported by the blobs.

---------- Post added at 10:22 PM ---------- Previous post was at 09:52 PM ----------

It could be that our display size makes the process not work. If you look at that commit, it mentions the buffer size not exceeding 2048. Naturally, the bigger the display (number of pixels), the bigger the buffer must be.

It might be worth a look to see where the process is breaking down.

The diff shows everything needed to debug it;

https://android.googlesource.com/pl...80659c540b719660c7af9f530445268bc409db6^!/#F0
[Nexus 6  General] matubarukus:
is it only for qualcomm devices?
[Nexus 6  General] Miustone:
I don't want to be the ass but i've included this in my ROM 'Evolvere HD' some time ago...Take a look at my Signature!

First thing is, it is is Version 1 of assertive Display. (Old one)

Second thing is that It's not enough to just copy these file into the System. The ad_calib file needs an edit to work on our Screens!

You guys See a Placebo effect! It does not make our Devices faster and You don't get better Battery life or something else with the file from the first Post...

Just saying.

BR
[Nexus 6  General] adm1jtg:
Is it possible to make it work properly with newer version on n6? If so can you provide a guide or files to do so?
[Nexus 6  General] Miustone:
Yes! Only Qualcomm...

Sure.

Since Sony use 1080p non Amoled Screens there is a big diffrence in Config.

One of them is the resolution. It's set Default to 720/1080p but We need 1440p.

There are a lot of other things that need to be changed in order to take a effect on Amoled Screens. But i can't remeber Now... So i've Uploaded my AD Config file in Version 1.3 for You guys. There are some really big changes between V1 and V1.3 thanks to Sony, APICAL and Qualcomm!

You can Play with the Values in the Config to get diffrent results. But Test by Yourself.

In my Opinion should things like that always included in any Android ROM for Qualcomm devices. But people doesn't care or know about things like that. Thats really a shame... There are a lot of Awesome Qualcomm only Tweaks out there!

Here is just a Link to my AD Config in V1.3. You should replace it with the one from the first Post: https://goo.gl/qpR6kc

BR and Enjoy:highfive:

Edit: if you have problems with this config in your ROM just change your ROM or disbale one of the best Parts by making this:

# power_saving_coeff

1

# power_saving_coeff

0

Edit2: Btw. Qualcomm Tweaks. If there is any interrest, i can share more Qualcomm specific Tweaks that You don't have ever Seen...

It's just Awesome! Qualcomm Snapdragon! FTW!
[Nexus 6  General] Abaddon:
mind sharing those tweaks? :)
[Nexus 6  General] Miustone:
Maybe i should create a Thread for that with some Explanations...

There is a really a big bunch of Tweaks for a lot of diffrent things like Audio,Video,Sensors,Camera,Display, Software/Hardware,CPU,GPU,Power savings...

Hooah It's just a lot stuff without any bull****. :silly:

Every ROM Cooker and DEV should use some of this Tweaks! :D
[Nexus 6  General] adm1jtg:
If you had time you could make an aroma based install of all the tweaks for qualcomm on n6. That would be awesome.
[Nexus 6  General] Miustone:
If i get some Help with it from someone i will do! I'm not a expert in Aroma but i know How to apply the Tweaks via Recovery. So if there is anyone who wants to Help me just send me a PM or contact me via G+ / Hangouts. This would be a big thing for the whole XDA!:fingers-crossed:
[Nexus 6  General] Abaddon:
I say you should do it! ?
[Nexus 6  General] adm1jtg:
I can help test but don't know aroma either. Maybe to start with you could list out the tweaks one by one and post the flash-able zips you have for each. The we can get general user feedback to see what people are interested in.

And yes I think creating a new thread would be the right way to go forward.
[Nexus 6  General] Miustone:
OK :) Some of these Tweaks are baked into my ROM (Thread is re-opened). You can take a look there to See some of them.

But i think i will not make a Device Thread. More like a Qualcomm Snapdragon Thread for all Qualcomm devices. So i can reach more People with it...

I've Now 3 Projects:

-MIUI 7 Marshmallow for N6

-Evolvere HD ROM for N6

-Qualcomm Android Tweaks

A Team would be Brilliant. But dunno who i can ask for Help... There are a lot of Big Plans for our Awesome Nexus 6 but i can't do it all alone :/

It's the first Device which i really love. So i will Support it till it dies! :angel:
[Nexus 6  General] dusk1911:
I'm so glad I came across this... Excellent work I must say... It's only been 3 hours and I lost 2% instead of probably like 8 or 9... Tha k you for your work
[Nexus 6  General] str8str:
Where is the link to your new thread with all the tweaks?

Straight Shooter

---------- Post added at 21:15 ---------- Previous post was at 21:12 ----------

Does this get flashed in recovery?

Straight Shooter

---------- Post added at 21:20 ---------- Previous post was at 21:15 ----------

I have no idea what to do with this. This thread has to many zips to know which one to use. You should erase them all except the newest and most revenant

Straight Shooter