yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 3 7.0 Android Development] Unjustified Dev:
HP has finally sent me the code for the HP slate 10 HD which I requested 2 weeks ago . It has the same cpu and gpu. Let's hope I find something useful.

[MENTION=4021423]ketut.kumajaya[/MENTION] they also released the bootloader code. Any hope of porting that?
[Galaxy Tab 3 7.0 Android Development] ketut.kumajaya:
I have always tried to avoid bootloader modification, it's dangerous!
[Galaxy Tab 3 7.0 Android Development] N00BY0815:
I dont quite get, in how far a modified bootloader would help us, but if you need a testing device, I could offer mine... Dont really care about it and I really only use it rarely, when I am bored or so ;) So if it is dead... Well it is dead :P But I guess it could still be fixed with a JTAG, couldnt it? If so, I think I know a shop, which could help me out for 5 bucks then ;)
[Galaxy Tab 3 7.0 Android Development] ketut.kumajaya:
I'm sure, no need bootloader modification for AOSP/CM.
[Galaxy Tab 3 7.0 Android Development] Unjustified Dev:
Yeah , been working with some developers. They believe it's the framebuffer still. It's not allowing the display to wake . Displayhardware.cpp

https://github.com/Tab3/android_frameworks_native/commit/8cd01d3548fcbf1a2b6ae5c37383964973737549

This is how it is on our device. Symlink didn't work

Though stock surfaceflinger uses standard paths. I have no idea how they got around it.
[Galaxy Tab 3 7.0 Android Development] ketut.kumajaya:
As I have seen in your latest logcat, looks good and no significant error but still no go :(

I hope [MENTION=5337314]CodyF86[/MENTION] and [MENTION=4503423]daavvis[/MENTION] join here anytime soon.
[Galaxy Tab 3 7.0 Android Development] Unjustified Dev:
Yeah it's lonely on my side of town. I need to work on 4.2.2 . 4.1.2 seems harder. Now that I have everything loading it should be easier to work with. More debugging and better support we have a 3.4 kernel. display changed in 4.2.2 no idea how it works but I guess i need to figure it out because dev/fb0 is there . dev/graphics/fb0 isn't getting created even though android will check both paths from what I searched.
[Galaxy Tab 3 7.0 Android Development] ketut.kumajaya:
Please download IMX6_JB43_110_ANDROID_SOURCE_BSP from https://community.freescale.com/docs/DOC-99115 . I am not sure about the content, may useful for us. IMX6 use Vivante GC2000 but I hope Vivante using a unified driver for kernel and user space gralloc and hwcomposer.

EDIT: Believe me, I silently support you :good:
[Galaxy Tab 3 7.0 Android Development] Unjustified Dev:
Yeah , I've looked and chatted with them. They aren't allowed to release source . Marvell gave them all pxa988 source . It's a NDA thing.
[Galaxy Tab 3 7.0 Android Development] CodyF86:
[MENTION=4021423]ketut.kumajaya[/MENTION]

Installing recovery right now, finally...sorry it took me so long. Christmas was crazy.

Also, can you guys point me in the way of the required device / prop repos for this device, or what your

roomservice file / prop xml file looks like, either or. :)
[Galaxy Tab 3 7.0 Android Development] ketut.kumajaya:
[MENTION=4911249]Unjustified Dev[/MENTION] How far Memphis to Indianapolis?
[Galaxy Tab 3 7.0 Android Development] Unjustified Dev:
[MENTION=4021423]ketut.kumajaya[/MENTION]

https://github.com/CyanogenMod/andr...mmit/8e533069e5721e55cb9768e140e16546c3a4a8b6

Think this is what I was looking for. Our kernel is so much newer and 4.2.2 appears to be better. Well at least my friend was saying that the display changed and isn't the same and I should be building newer than 4.1.2 . Well not much work to do hahaha. Adb works so... time to build.
[Galaxy Tab 3 7.0 Android Development] Vuciz:
Just want to pop in and say thanks for trying to get CyanogenMod on out device. :)
[Galaxy Tab 3 7.0 Android Development] Unjustified Dev:
No prob , not trying :) it's there and it boots. Just no display is created . Once solved it should work. I am not expecting wifi, sound , camera , and more things.
[Galaxy Tab 3 7.0 Android Development] Vuciz:
Well once you can see what you're doing it should be easier. :P
[Galaxy Tab 3 7.0 Android Development] Unjustified Dev:
Long way lol
[Galaxy Tab 3 7.0 Android Development] Unjustified Dev:
https://github.com/Tab3

Branch will be cm-10.1 for all things. I will push updated stuff soon. It's sloppy but ... it's enough for now I guess
[Galaxy Tab 3 7.0 Android Development] Unjustified Dev:
[MENTION=4021423]ketut.kumajaya[/MENTION]

[MENTION=5337314]CodyF86[/MENTION]

Logcat of cm-11

http://pastebin.com/BfMyi4z8

If you have an idea on why it's crashing let me know

This is interesting

E/v_hwc ( 113): Invalid buffer handle (at 0x40328c30), version=74, sizeof (native_handle)=12, numInts=0, sNumInts=31, numFds=-1, sNumFds=2, hnd->magic=70, sMagic=51647890
[Galaxy Tab 3 7.0 Android Development] muchopoli83:
Dont working download links :(

Please, can you fix this? :rolleyes:

Thanks you for your work :thumbup:

Regards

Enviado desde mi SM-T210/SM-T210R usando Tapatalk
[Galaxy Tab 3 7.0 Android Development] Unjustified Dev:
No build is actually at booting status and it's not worth soft bricking . When I get a working build I will release it.
[Galaxy Tab 3 7.0 Android Development] CodyF86:
More and more I look at the logcats I've seen along with that error message, vivante pretty much just changed the

hwc headers (on purpose heh) or something dumb like that and since we don't have the source code for their hwc,

its going to be a real pain.

Did you make sure you had /system/bin with execute permission when you tried to just swap the stock surfaceflinger? Because

I know some of the permissions weren't set before.
[Nexus 5 General] miHah:
Hello!

Please fill up the poll.

+ you can add what autobrightness levels you use.

For instance:

I use Cataclysm Rom with Franco Kernel and Screen Dimmer Kernel MOD

Autobrightness Changed via GravityBox for kitkat :)

My levels:

[lux] - [brightness]

2-15

40-20

80-30

350-65

600-130

1000-167

1600-204

3000-240

10000-254

POST YOURS :))
[Nexus 5 General] danarama:
There's no.poll

-----------------------

Sent via tapatalk.

I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
[Nexus 5 General] miHah:
There is one now :D
[Nexus 5 General] Pichingo:
Auto brightness is a battery killer for me. I usually have it 20% all the time. Seems to be the sweet spot for me. Great battery life.
[Nexus 5 General] danarama:
I don't use autobrightness. It wastes power constantly polling for lux values. I just use "display brightness" to put an invisible slider up the right side of my screen.

-----------------------

Sent via tapatalk.

I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
[Nexus 5 General] lukas_s:
I just leave Lux on Auto Brightness and Dynamically, and let it do its thing. I don't mess with the levels or anything. It's far superior to the stock auto brightness right away
[Nexus 5 General] imablackhat:
I use stock auto brightness :/, anyone use full brightness?
[Nexus 5 General] bulletmark:
Auto brightness on N5 is buggy

I had a N4 for a year and auto brightness worked fine but on my N5 I find that auto brightness bounces the brightness around frequently and seemingly for no reason. It surely must be a software bug?
[Nexus 5 General] shotta35:
Using stock AutoBrightness and get 4hrs SOT with 2-3hrs voice calls so that's good enough for me. My Nexus 5 last longer than my Nexus 4 for sure with the same checking/usage during the work week, I can go 1 day 16hrs with this before it's fully dead.

Right now i'm 22hrs 23min 56s on battery and have 31% remaining. Being today is weekend I have 2hrs 15mins 12s screen time but 3hrs, 41min 18s voice calls. Obviously bunch of SMS and Hangouts today as well.
[Nexus 5 General] SamBG:
Use lux auto brightness... Its bettr than the stock one...and doesnt battery too if the settings are proper!!

Dont frget to press the THANK button!!!

:p
[Nexus 5 General] pgptheoriginal:
I keep switching from and to auto brightness because I don't want to flash a modded kernel to avoid losing official updates, but I really hope Google will fix it soon :rolleyes:

Luckily there's an app called Profile Scheduler which I set to automatically lower brightness when I'm home (connected to WiFi or recharging) and at night :)
[Nexus 5 General] galaxys:
I don't use auto unless I'm out in the sun...
[Nexus 5 General] random0munky:
After using Flux on my desktop and laptop, I have grown accustom to the features the night mode brings and needed to bring it to the mobile phone as well. Using lux as my auto brightness go-to app and has served me well with it's profile editor and being able to go (negative) in brightness which helps my battery life.

Nexus 5 4.4.2
[Nexus 5 General] bblzd:
I simple automate my brightness to change by time of day. Using 30% during the day, 20% at night and 5% before bed as set in Llama.

The times will need to be adjusted as the daylight hours change.
[Nexus 5 General] BIGJ541:
So far so good

Its so much better than my Hercules was
[Nexus 5 General] Maelik:
Nope, I never use auto brightness. Just crank it down to the minimum while I'm inside, use screen filter in a dark room, and crank it up until I am satisfied with the visibility when I'm outside. (Depends on how sunny it is out.) I've always liked changing it myself because I don't find myself changing areas of lighting all that very much. When I'm inside, I'll probably be inside for awhile. When I'm outside, I'll probably be outside for awhile, and so forth.
[Nexus 5 General] bblzd:
I tried out auto brightness again and it would seem 4.4.2 has tweaked it for the better. Its actually useable now for me and gets the brightness even lower then I had it indoors. Not sure how much battery the sensor uses but having lower brightness all together might make up for it.
[Nexus 5 General] DarkiKun:
I'm actually using it stock, it's quite good really
[Nexus 5 General] hari88:
never used autobrightness..usually i keep phone's brightness set about at 20%..i see autobrightness consumes a lot of battery
[Nexus 5 General] PhilipL:
Hi

The sensor itself uses negligible power and makes no difference to battery life.

I've tweaked the framework-res.apk file to use more brightness steps and to be dimmer in darker conditions. Saves installing an app when the phone has it built in. If anyone is interested I can post it, needs flashing with TWRP or other recovery.

Regards

Phil
[Nexus 5 General] pgptheoriginal:
That would be VERY useful, but can you post the original one, too, so that we can revert this setting back to stock if we need to? Thank you :)

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 General] PhilipL:
Hi

Here we are. This should only be used on stock 4.4.2 ROMs and flashed from recovery.

Regards

Phil
[Nexus 5 General] pgptheoriginal:
Thanks for the ZIPs, again, but can you explain how I can edit these settings myself? Is it easy for people who have never programmed?
[Nexus 5 General] bblzd:
After using auto brightness for a while I've noticed it spiking in brightness levels under certain lighting conditions as others have reported.

The phone has mainly settled on it's brightness for the room when suddenly it ramps the brightness up to max for a cycle and then adjusts it back down. Almost as if it catches the light straight on for a brief moment and since it only checks every few seconds you experience the full change. I have not used Lux yet but I might try it now.
[Nexus 5 General] JazzLobster:
I've experienced the screen to be brighter than necessary, and i've also experienced the aforementioned brightness spikes and readjustments.

I'm going to check out lux as well.

Im running mahdi rom btw.
[Nexus 5 General] tonychau77:
Brightness over 50% kills my eyes. Auto brightness seems perfect to me.
[Nexus 5 General] rajendra82:
I like autobrightness. I just don't like the twitchy way it does up and down on the Nexus 5. On Nexus 4, I had set it on auto, and the algorithm was just right. I never seem to remember thinking too bright, when will this drop back down, like I do on my Nexus 5. I think they need to be less aggressive going up on it, and more aggressive going down.

---------- Post added at 09:48 PM ---------- Previous post was at 09:40 PM ----------

Can you post the changes to the settings you made. I am thinking about making an Xposed module that does this with user controllable settings. I would like to know what values you liked.
[Nexus 5 General] Seifer780:
How do you tweak the auto brightness values?
[Nexus 5 General] i9o:
This is a very neat mod as long as it is tweaked right. There are so few phones out there with a properly tuned sensor and N5 is not one of them...

Before installing it one question though. Will I need the "Restore Brightness file" before installing a OTA update? Thanks v much.
[Nexus 5 General] rayiskon:
yes
[Nexus 5 General] PhilipL:
Hi

It's not something easily changed.

You need to get the Framework-res.apk file from the device then decompile it, here all sorts of values can be changed and tweaked, in the folder res/values there is an Array.xml file, this contains within it the brightness values as two arrays. One array contains the lux value, then the other array at the same matching position is the brightness value to apply for that lux value.

Note there seems to be a bug with the sensor in the Nexus 5 where it gets confused by some artificial lighting, especially lights that are dimmed and most likely have a pulse width modulation (flicker) happening that the sensor can see even if we can't, this makes the sensor flat line at 10,000 lux and the screen brightness then turns up to max.

The original settings are, note how few steps there are:

<integer-array name="config_autoBrightnessLevels">
<item>1</item>
<item>4</item>
<item>40</item>
<item>350</item>
<item>600</item>
<item>1000</item>
<item>1600</item>
<item>3000</item>
<item>10000</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>13</item>
<item>26</item>
<item>73</item>
<item>88</item>
<item>130</item>
<item>167</item>
<item>204</item>
<item>240</item>
<item>254</item>
<item>255</item>
</integer-array>

The settings the zip file modified them to is:

<integer-array name="config_autoBrightnessLevels">
<item>1</item>
<item>5</item>
<item>10</item>
<item>20</item>
<item>50</item>
<item>60</item>
<item>80</item>
<item>100</item>
<item>200</item>
<item>400</item>
<item>500</item>
<item>800</item>
<item>1000</item>
<item>1600</item>
<item>3000</item>
<item>10000</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>3</item>
<item>6</item>
<item>8</item>
<item>12</item>
<item>14</item>
<item>18</item>
<item>22</item>
<item>25</item>
<item>30</item>
<item>35</item>
<item>55</item>
<item>70</item>
<item>85</item>
<item>100</item>
<item>150</item>
<item>255</item>
</integer-array>

Regards

Phil
[Nexus 5 General] Molitro:
Thanks Phil, man.

I've had to battle a bit with de compiling and decompiling of the apk, had to test 4 different versions of apk tools, but the result is worth it.

Your values work great (well actually I raised a bit the min value, was too low for me, but other than that.... )

Swiftkey'd from my Nexus 5
[Nexus 5 General] rbs_uk:
Don`t use it, because I love bright screens. I didn`t buy a phone with nice display, to set it to 50% :D
[Nexus 5 General] aooga:
Always hated it. I'm perfectly capable of seeing the screen at around 10-15% brightness indoors and around 40 outside.
[Nexus 5 General] XDANelius:
i keep my brightness between 10-25% all times depending. never above, and never below.
[Nexus 5 General] decemberlast2013:
Stock autobrightness is perfect.
[Nexus 5 General] shan25:
I rarely use auto brightness. It just bother me when I notice it change brightness.

Is there any difference in battery life?
[Nexus 5 General] ndevries:
Never, I'm usually in areas where the lowest setting on stock is absolutely perfect for me. Otherwise I adjust it on the fly. If I need to see the details of something I'll hit auto-on just to brighten up the screen then shut it off again. Brightness levels on auto are always unnecessarily higher than they need to be, plus I'm a bit paranoid of people seeing what's on my screen when in public places like a subway. :p
[Nexus 5 General] MersauX:
No issues with autobrightness here, I'm loving it, especially when compared to my wife's Galaxy S4.
[Nexus 5 General] ilanzo82:
Thanks! Just flashed.
[Nexus 5 General] :
Im with auto and I like it but i will try screen dimmer mod.
[Nexus 5 General] Blackbox421:
I don't really like autobrightness. It jumps far too often. Thats why I'm constantly at ~10% brightness :)

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 General] AndrasLOHF:
This is the first phone I don't use autobrightness on. Reason being even if I use modded settings the thing jumps around waaaaaaaay to much. The light sensor is just too sensitive. I have literally watched the lux meter jump from 0 lux all the way to 10000 from tilting the phone a mm or two in a dimly lit room.
[Nexus 5 General] JonasVFC:
auto-brightness with lux dash, setting brightness on awake.

i hate it when it changes brightness when using which happens a lot with stock auto
[Nexus 5 General] BTG-XCELL:
What you're describing sounds like the light is hitting at the critical angle.

See: http://xdaforums.com/showpost.php?p=49384520&postcount=12470

Unfortunately, I doubt Google is going to go out of their way to fix the sensitivity. Only improvement is going to be something like Lux Auto Brightness or maybe a custom kernel will implement a better calibration.
[Nexus 5 General] pgptheoriginal:
Someone asked me about the brightness tweak on AndroidCentral forum, and I posted the direct links to the two zips you made.

I named you as the zips' maker and excluded any liability for the damage the zip could cause, but if you don't want them to be posted in other communities I can remove them as soon as you tell me to ;)

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 General] addonelam:
I don't use auto brightness.

When I was using the Atrix I used Root Dim and manually changed my settings as my eyes saw fit.

With the Nexus 5, I just installed Lux after blinding myself with the stock 30% (minimum?) while turning my alarm off... Lux at -50% seems to be a good fit for groggy wake-ups and dawn viewing. Manually changing my brightness doesn't bother me :)
[Nexus 5 General] cgonzalez82:
I have my brightness set pretty low, but it seems to be good enough for the majority of conditions both inside and out. Auto feature needs a software revamp, far too sensitive and unpredictable.
[Nexus 5 General] Wergin:
autobrigthness

Yes I will Use autobrigthness...:good:
[Nexus 5 General] pork salad:
GravityBox has an auto brightness settings section, I could load these lux settings through that and avoid modifying anything in the rom, no?
[Nexus 5 General] Wergin:
brightness

I keep changing brightness settings [Auto-Set]
[Nexus 5 General] Nevnar:
I've been using Lux lately setting the auto brightness parameters. It's perfect, saves a lot of battery compared to stock auto brightness.
[Nexus 5 General] jb0ne:
I tried your settings, but I'm finding it's still too bright...is there any way to tell what "level" your phone is at at that moment so one can set it lower?
[Nexus 5 General] Mattymat:
I too would also like to use gravitybox's auto brightness settings. If you figure out some optimal settings, let me know.
[Nexus 5 General] C3C076:
There was one user who prepared nice graphs with stock brightness settings and his fixed version (it's a shame I can't remember who was the original contributor, but thanks, anyway).

http://xdaforums.com/showpost.php?p=49533799&postcount=2778
[Nexus 5 General] japie06:
I use lux and I never want to go back!
[Nexus 5 General] jb0ne:
I just tried lux for a day and uninstalled it when I found a program called Screen Brightness. Lux did not do what I wanted which was to across the board decrease auto brights levels, I s still having to manually adjust lux. Display brightness is FAR easier to use, it's like a GUI to the gravitybox levels and shows your auto brightness as a graph, you just move along it and change the brightness, and it will even preview it for you. Works perfect. Uninstalled lux.

Edit: I suppose you could write down your settings from display brightness and type them into gravitybox so you're not running another extra process...
[Nexus 5 General] wwelles:
Not sure if I'm using a different phone than the rest of you...

I have to use Lux Dash because even 0% manual stock brightness is way too bright in most situations and eats battery.

I have Lux Dash set to -45% for 0 lux which seems about right. If anyone is interested I could upload my config backup. I'd also be interested to see other people's.
[Nexus 5 General] whitedragonz83:
I like Velis. A little scary at first, but default values with a small change on the low side worked well for me. https://play.google.com/store/apps/details?id=com.velis.auto.brightness
[Nexus 5 General] bblzd:
You know sub zero in lux is just applying a gray screen filter? It won't save you battery and just having lux installed will drain battery without ever showing on your battery graph.
[Nexus 5 General] wwelles:
Yeah I guess you're right for the Nexus 5. PROTIP: The gray filter would save battery on OLED screens.
[Nexus 5 General] GuitarGuy96:
auto brightness for me on the nexus 5 seems a bit too bright in every scenario.. It also doesn't scale quick enough and if I'm sometimes in a dark room, the brightness scales all the way up rather than dimming instead. It's buggy and not accurate and also isn't scaling fast enough :P Turning the screen off and back on usually gets almost accurate results but still just a tad bit brighter than I'd like it to be.. I began using Lux Brightness control and was honestly loving it but had to let go cause it really drained on the battery. Waiting for some miracle fix by Google in a software update xP
[Nexus 5 General] Primokorn:
I always manage it with the statusbar brightness slider to obtain the right brightness level I need without using sensors (better rendering and less energy consumption).
[Nexus 5 General] grognaz:
would be great to have a option that changes the overall brightness so its easy to use and one does not have to fiddle with all the values
[Nexus 5 General] jb0ne:
I finally found an app that doors this--YAAB, yet another auto brightness. One slider to lower the overall average brightness. Simple and small.
[Nexus 5 General] arvonn:
Best Improvement Yet!

Thank you very much phil, this has made a major improvement to the autobrightness function at least on my N5...

Lux couldn't do this, GravityBox brightness controls made Autobrightness worse, but the last 24 hrs have been the best for autobrightness so far...

Clearly there is a deficiency with stock brightness table, and it looks like you fixed it, so far so good!

Now quick, get this into AOSP! :)

Thanks!
[Nexus 5 General] jrotert:
To Phil" Can you update this to work with 4.4.3?

Tried your zip on 4.4.3 and wouldn't boot. Had to restore nandroid.

I realize your instructions explicitly state to only flash to 4.4.2, but mod worked so well I just had to try it on 4.4.3. Am currently using Lux w/ less than satisfactory results.
[Nexus 5 General] cybwer:
Modified framework-res.apk ver. 4.4.3

Changed default auto-brightness values according to instruction by respected PhilipL in framework-res of 4.4.3.

Works fine for me on stock KTU84M. Just flash via recovery. DON'T FORGET TO BACK UP BEFORE FLASHING!!!

Use at your own risk, I'm just a noob - it's my first mod :fingers-crossed:!
[Nexus 5 General] pgptheoriginal:
After updating to 4.4.3 my screen no longer looks brighter than it should, so I'm fine with the stock autobrightness setting.

Maybe that's because lately my lifestyle gas radically changed, and I rarely am indoors, but now the brightness seems perfect in nearly every situation.

Did anyone notice any change in the autobrightness profile after updating to the latest android release?

Inviato dal mio Nexus 5 utilizzando Tapatalk