yashsingh1/xdaforums huggingface dataset:
[Galaxy S6 Edge+ Themes and Apps] knojap:
I'm using Automode.

I know the SIII, S4 and S5. All Phones has got the same behavior. When phone is vertical the screnn is getting brighter in bright enviroments but not getting dark. Just when the phone is flat (horizontal) it's getting darker in dark enviroments.

This is bad when using the phone as navi because it always stay at high brightness even when driving in a tunnel.

Now I'm using CM13 and all is working in automode as it should be. But I want to go back to stock when the automode is working.

This fix is for samsung devices using Kitkat Stock. There should be a possibility to do it in Lollipop, but I don't know how?

http://xdaforums.com/showpost.php?p=57328377&postcount=8:

For those on KitKat, you can use this Xposed module that fixes it: http://repo.xposed.info/module/com.s...obrightnessfix

Similar fix can be achieved on Lollipop (by re-compiling services.jar but playing with it can be quite dangerous if you don't know what you're doing.)
[Galaxy S6 Edge+ Themes and Apps] gitin:
Alright i got it

But there is 1 thing, i never use my phone in auto brightness

My phone is always on manual brightness and the fix on this thread is for manual brightness only

Now, to fix your bug, i will have to use my phone in automatic and see the bug myself, then only it can be fixed..

Sorry it will be very hard for me to tinkle if m not facing the issue...

I advise you to contact the op from the thread you mentioned and ask if he can fix your services

Sorry
[Galaxy S6 Edge+ Themes and Apps] knojap:
Whats the problem tu turn on automatic mode to see this behavior? ;) It's just 20 seconds.

I wrote to the op. To bad... No reaction... thank you
[Galaxy S6 Edge+ Themes and Apps] gitin:
I did but i did not notice any change

May be there is no such bug on my phone

And no other person using edge plus has reported this on this thread or other threads here...

So its not there for us

So how can i work on it, sorry i have no idea
[Galaxy S6 Edge+ Themes and Apps] lukigoes:
What about CarHD Rom 17.2 for S6 edge SM-G925F? Thanks :))
[Galaxy S6 Edge+ Themes and Apps] gitin:
attach your services.jar files if the fixed file is not there on 1st post of this thread
[Galaxy S6 Edge+ Themes and Apps] lukigoes:
There it is :) Thanks in advance :D
[Galaxy S6 Edge+ Themes and Apps] gitin:
sorry been really busy, will do it today :)

update : checked but there is nothing wrong with your file, the fix is already there

it seems samsung has fixed this in all new updates
[Galaxy S6 Edge+ Themes and Apps] yakalelos7:
I have g925f galaxy s6 edge . Coi9 baseband can you help me with the fix ?
[Galaxy S6 Edge+ Themes and Apps] yakalelos7:
My .jar file is this
[Galaxy S6 Edge+ Themes and Apps] lukigoes:
Hmm okey thanks :)

Sadly I notice serious bugs on my auto-brightness, maybe it is my phone, I don't know :confused:

#Also Android 6 auto-brightness has serios errors on getting bright screen when the light gets brighter..

I think it could be my phone :/
[Galaxy S6 Edge+ Themes and Apps] praveensingh569:
[MENTION=1771712]gitin[/MENTION] sir please solve my device s5 mini auto brightness issue running androi 5.1.1

Thanks in advance :good:
[Galaxy S6 Edge+ Themes and Apps] gitin:
alright, will do it today

ok, but i have no idea about that, can't see myself unless my phone is updated to Android 6.... we edge users are still on Android 5

no probs, will do it today
[Galaxy S6 Edge+ Themes and Apps] yakalelos7:
Thank alot my friend i will wait. Thank you again
[Galaxy S6 Edge+ Themes and Apps] lukigoes:
I installed the "Beta" from the unified section :D > S6 Edge SM-G925F

Sometimes the sensor works pretty good, but sometimes it stucks all the time on the brightness which it should have directly after the boot up..

Thanks anyway :))
[Galaxy S6 Edge+ Themes and Apps] gitin:
Hi,

here is your fix, just replace it in your phone and change permissions to 644 and reboot (make backup first)

and don't just keep it to yourself, share this with others also, and link to my thread please
[Galaxy S6 Edge+ Themes and Apps] gitin:
my friend, beta means that it is pre-release version so it will have few bugs/errors

wait for the stable release, or else downgrade back to Android 5 for now
[Galaxy S6 Edge+ Themes and Apps] yakalelos7:
Sorry how i change the permissions to 644
[Galaxy S6 Edge+ Themes and Apps] gitin:
hi,

please tell me what problem you are having with your auto-brightness?

coz i don't see any problem with the code
[Galaxy S6 Edge+ Themes and Apps] praveensingh569:
The problem is that I use manual brightness.....when I turn off the display and open display next time display brighness dims.....It get corrected when I turn on auto brightness checkbox and then turn off auto brightness checkbox.....after that manual brightness become normal from dim
[Galaxy S6 Edge+ Themes and Apps] gitin:
oh, that means the problem is there, but sorry it is very hard for me to try changing code too much because i don't have the device with me, and it will most probably result in bootloop

so its better to ask someone from your phone thread to fix this issue
[Galaxy S6 Edge+ Themes and Apps] kozgel:
Here is mine please solve it:

rom name: Extinction V1.0/ build number: N910FXXU1BOB4

Services jar:
[Galaxy S6 Edge+ Themes and Apps] gitin:
Ooh sorry i missed your post, will do it today
[Galaxy S6 Edge+ Themes and Apps] kozgel:
i will eagerly wait, thank you so much bro.
[Galaxy S6 Edge+ Themes and Apps] kozgel:
i am still wait you please do not miss again :)
[Galaxy S6 Edge+ Themes and Apps] gitin:
I apologize

been busy with work, i have just set an alarm to do it today

just few more hours and i'll be back
[Galaxy S6 Edge+ Themes and Apps] gitin:
Hi,

I checked your file but did not find anything wrong with it........

actually what i think, samsung has changed their code in latest updates, and no longer people are complaining about the manual-brightness issue

are you sure you have issue with the auto-brightness which works even when you set it to manual ?
[Galaxy S6 Edge+ Themes and Apps] kozgel:
hi, thanks for your efforts i am not sure because when i set it manuel it sometimes works sometimes doesent ..
[Galaxy S6 Edge+ Themes and Apps] gitin:
you are welcome,

its very hard for me to see/find the bug coz i am not facing any problem on my phone

hope you understand, m not smart enough to work on the code without seeing the issue myself

regards,

gitin
[Galaxy S6 Edge+ Themes and Apps] kozgel:
i understand bro thanks again.
[Galaxy S6 Edge+ Themes and Apps] ninohs:
sorry man i confirm that is already fix on my rom!!
[Galaxy S6 Edge+ Themes and Apps] gitin:
good good enjoy !
[Galaxy S6 Edge+ Themes and Apps] bubu23:
hey gitin!!!! can you make fix for the g925f marshmallow ?
[Galaxy S6 Edge+ Themes and Apps] gitin:
Do marshmallow have the same bug ?

Send me your services.jar
[Galaxy S6 Edge+ Themes and Apps] bubu23:
sorry wasnt on computer ...yes the marshmallow got same bug ...but fuuny cant find the file lolll look for it and send you thx man!!!:good:
[Galaxy S6 Edge+ Themes and Apps] Aliiranis:
Hello

G928C

Android MM PB8

here services.jar

http://s000.tinyupload.com/download.php?file_id=15079491615609676613&t=1507949161560967661351207

Please Fix,Thank you:)
[Galaxy S6 Edge+ Themes and Apps] gitin:
I suppose its for mm 6.01

Plz wait till i get update for my phone 928g

So i could fix and check myself

So the bug is back on new updates ?
[Galaxy S6 Edge+ Themes and Apps] promox:
working in MM android 6 for me

i tested

but i downloaded from in xposed installer market
[Galaxy S6 Edge+ Themes and Apps] strikerdj2011:
Hi what is the module called please in xpossed
[Galaxy S6 Edge+ Themes and Apps] GreyFox777:
https://drive.google.com/file/d/0B7DYZB93YBTKUFR4MUMxTm5Cd0E/view?usp=sharing

Android 6.0.1 > BPB6 <

Please fix it :)
[Galaxy S6 Edge+ Themes and Apps] Ehsan021:
Can u please explain more ?

What work for u which module ?
[Galaxy S6 Edge+ Themes and Apps] Ehsan021:
Thanks but it does not work with XtreStoLite MM b3
[Galaxy S6 Edge+ Themes and Apps] gitin:
Guys, please let me know as soon as G928G Bootloader is released, I need to upgrade, then only I can work on the fix

thanks
[Galaxy S6 Edge+ Themes and Apps] HanZie82:
Why is this called auto-brightness bug? It's the manual-brightness bug.

No i cant find a solution to my problem an actual auto-brightness bug.

Maybe Samsung switched them out as when i set it on auto it wont change...

Thanks for the effort anyway.
[Galaxy S6 Edge+ Themes and Apps] gitin:
You are right, I am about to change it to Manual brightness fix after I update my files for MM

I thought that too///

the module posted above is a different thing, it doesn't fixes the brightness drop in dark areas when set to manual brightness
[Galaxy S6 Edge+ Themes and Apps] Ehsan021:
Hello my dear friend :highfive:

When will you get the android marshmallow update ?

We rly need u to fix this brightness issue

U r my only hope :good:
[Galaxy S6 Edge+ Themes and Apps] gitin:
naa, still no update available for my phone g929g

i am felling so left out from last 1 month, and trust me, you will never see me on any of the future samsung mobile threads here on xda, this was my last samsung purchase

no roms available, who developed few roms are leaving already, i don't c any future development for this phone

and its so bad that i bought the most expensive phone (at that time) and still waiting for MM update when people at nexusP forums are already installing Android N on their phones !!!

I hate samsung, even my 2 year old htc m8 (its with my brother) has got MM update already and me ...? nothing
[Galaxy S6 Edge+ Themes and Apps] Ehsan021:
Its rly odd !!!

shame on Samsung !

I hope u get MM update as soon as possible and not just for us because its your right to get MM update faster than so many phones
[Galaxy S6 Edge+ Themes and Apps] gitin:
Look at the nexusP thread, they have got android N kernels and roms already

And I am still waiting for MM update lol!!!

Going to sell my phone on ebay soon and get nexus P
[Galaxy S6 Edge+ Themes and Apps] Ehsan021:
I'm rly sorry to hear that buddy :(

it not maybe a good time but I want to ask u can u plz make tutorial for fixing the manual brightness issue ?
[Galaxy S6 Edge+ Themes and Apps] gitin:
no probs, I will definitely make a tutorial but i have checked MM services files someone send me earlier and its not the same, the code which i altered in lollipop files is not there

so I first need to update my phone to MM and then find the code and fix it before I make a tutorial
[Galaxy S6 Edge+ Themes and Apps] Ehsan021:
I'm appreciate that . So we r waiting for your MM update :fingers-crossed:
[Galaxy S6 Edge+ Themes and Apps] GreyFox777:
Many samsung s6 devices hasn't marshmallow yet... G928I, G928T, G928P... so you are not alone with G928G
[Galaxy S6 Edge+ Themes and Apps] gitin:
yeah I saw your request to fix auto-brightness on other threads :p

I can imagine how you must be feeling now running your phone in low brightness, when i first bought this phone i was so angry and was about to sell it

So actually I bought a phone which I had to fix by fixing auto-brightness and then deep sleep by installing different kernels / roms.............****ty phone I must say (stock), its not even close to my 2 year old htc m8 (stock)

Samsung really needs to change their complete IT Team
[Galaxy S6 Edge+ Themes and Apps] xanthrax:
Amen! Samsung sucks and their excuse is that they have too many devices /models which it's ridiculous because the 1 year old devices are not on their update list

Edge plus still hidden from the full open source codes that we can at least port a cm base...

But actually the autobrightheness seems to be fine on M

Yes, the LAST Samsung Crap I will ever buy, back to Nexus as soon as it comes

Sent from my Darkside of Edge plus
[Galaxy S6 Edge+ Themes and Apps] gitin:
Don't know about auto-brightness issue on mm but in lollipop it used to drop down in dark areas when set on manual full brightness

I have already talked to my friend, he is going to buy my phone in a week

Then i'll buy nexus 6P

Now I do not want to flash broken MM updates on my edge+ with brightness issues or deep sleep issues etc

I'll sell it the way it is...

Goodbye samsung for ever ! Won't buy your phones even if you come up with the most beautiful phone in future.

Even my htc m8 was more smooth than your stock edge +
[Galaxy S6 Edge+ Themes and Apps] GreyFox777:
I have downgraded to 5.1.1 :) But still want to upgrade to 6 if there is a fix available.
[Galaxy S6 Edge+ Themes and Apps] gitin:
Gosh you downgraded just becoz of the brightness bug ?? I would have done the same :)

I only have this phone for another week, hope i get MM update before that so i could fix it :) otherwise someone else has to do it
[Galaxy S6 Edge+ Themes and Apps] taldarchi:
hello. i would really aprreciate it if you could make a fix for my build

i have the Edge plus G-925C

this is the link for the requested files:

https://drive.google.com/open?id=0B08krT1KTfJMM2ZnSU4xUmZqNHc

and this is the build:

thank you very much!!
[Galaxy S6 Edge+ Themes and Apps] gitin:
hi, sorry I am waiting for samsung to drop update for my model first g929g

i can only fix your file once I test on my phone and I can only test if I am on MM which currently I am not

please wait for some more time..
[Galaxy S6 Edge+ Themes and Apps] taldarchi:
can you maybe meanwhile just explain briefly what have you done with services.jar ?

at least at the lolipip version..

i mean i feels like it's a big secret lol

maybe if youl explain what have you done to edit it i could give it a go and do it myself.. will also upload it here

what should i look for? what does it say?
[Galaxy S6 Edge+ Themes and Apps] gitin:
no no, I don't mind sharing the code with others, and I even shared it with other members/threads

its just that, I have checked MM file and that code is no longer there

so even if I share the code with you, you won't find it in your file

i'll have to look for other code or changes samsung has made to the file
[Galaxy S6 Edge+ Themes and Apps] GreyFox777:
Galaxy S7 Edge has same issue :( Damn Samsung, gonna to hate it...
[Galaxy S6 Edge+ Themes and Apps] gitin:
Oh..thats bad

The thing is, there is no other phone which matches samsung hardware and looks

I thought of buying 6P but after checking its thread i found out :

Yellow / pink screen issues

Thermal throttling

Different volume in both top and bottom speakers, top is more loud

So there is no perfect phone
[Galaxy S6 Edge+ Themes and Apps] GreyFox777:
BTW i created a fix for BPB6 for marshmallow. Works just fine! Tested it myself. I have created also for S7 Edge but cannot test it right now, have no phone yet :(
[Galaxy S6 Edge+ Themes and Apps] gitin:
so are you thinking to buy s7 edge ?

i don't see much difference in s7 edge and our edge + , they are almost same

except the sd card which I need coz 32gb is not , enough for me
[Galaxy S6 Edge+ Themes and Apps] GreyFox777:
The reason is simple: after a year our devices will not be much at price... I can currently sell my device for 500 €
[Galaxy S6 Edge+ Themes and Apps] taldarchi:
could you elaborate more on how you managed to fix it?

what can i do? thank you!
[Galaxy S6 Edge+ Themes and Apps] GreyFox777:
Editing an services.jar file.
[Galaxy S6 Edge+ Themes and Apps] taldarchi:
Ok but how? What did you do ?
[Galaxy S6 Edge+ Themes and Apps] b34tnu:
Is it possible to get a fix for CrissCross Rom v4.0?

http://xdaforums.com/galaxy-s6-edge/development/rom-crisscross-rom-goes-marshmallow-v1-0-t3310503

Author of rom says its not possible because of 5WayReboot you can read here

http://xdaforums.com/showpost.php?p=65857658&postcount=1959
[Galaxy S6 Edge+ Themes and Apps] gitin:
Send me services.jar file
[Galaxy S6 Edge+ Themes and Apps] b34tnu:
http://www.xup.in/dl,26160524/services.jar/
[Galaxy S6 Edge+ Themes and Apps] gitin:
good, please give me some time to check
[Galaxy S6 Edge+ Themes and Apps] gitin:
please attach your file here or on some good website like zippyshare

I am not able to download from the link you gave

edit:/// for others, OP updated with MM 6.0.1 update g928g-f..etc
[Galaxy S6 Edge+ Themes and Apps] b34tnu:
ohh sry here from zippyshare

http://www119.zippyshare.com/v/6ytcdhr9/file.html
[Galaxy S6 Edge+ Themes and Apps] gitin:
here is your fixed file, it should work but do make a backup of your current rom in case your phone gets into bootloop

change permissions to 644 after copying this file in your framework folder and reboot

and make sure you share this with other people on your phone forum and not just keep it yourself

do credit me/this thread while posting the link !

enjoy !

http://www60.zippyshare.com/v/8jYKLmFV/file.html
[Galaxy S6 Edge+ Themes and Apps] b34tnu:
Ok thx after cleaning dalvik Cache i think it works but i am not sure if this is really full brightness. Will test it 1 more Day before i share it with others.
[Galaxy S6 Edge+ Themes and Apps] b34tnu:
works without any problems, shared it in Rom Thread from S6 Edge. Thanks so much to fix this annoying bug
[Galaxy S6 Edge+ Themes and Apps] stefan_72:
nice ok to share ?
[Galaxy S6 Edge+ Themes and Apps] asc1977:
Thx for that that you fixed the brightness bug with 5way reboot. Can you please write a short guide in that thread

http://xdaforums.com/showthread.php?t=3321679

You will help alot of devs with that
[Galaxy S6 Edge+ Themes and Apps] gitin:
sure go ahead !

I don't mind
[Galaxy S6 Edge+ Themes and Apps] gitin:
Hi [MENTION=4596062]asc1977[/MENTION]

glad to see you here, I have used your rom when you were active here on this forum

please feel free to post my guide in your thread, I have removed following code from services.jar file :

under com/Android/server/display/AutomaticBrightnessController.smali

remove following lines ::

////////////////////////

iget-boolean v3, p0, Lcom/android/server/display/AutomaticBrightnessController;->mSettingAutoBrightness:Z

if-nez v3, :cond_52

iget v3, p0, Lcom/android/server/display/AutomaticBrightnessController;->mAmbientLux:F

const/high16 v4, 0x42c80000 # 100.0f

cmpg-float v3, v3, v4

if-gtz v3, :cond_52

.line 1022

iget-boolean v3, p0, Lcom/android/server/display/AutomaticBrightnessController;->mUseManualAutoBrightness:Z

if-nez v3, :cond_40

.line 1023

const-string v3, "AutomaticBrightnessController"

const-string v4, "[DAB] use ManualAutoBrightness is changed from false -> true"

invoke-static {v3, v4}, Landroid/util/Slog;->d(Ljava/lang/String;Ljava/lang/String;)I

.line 1025

:cond_40

const/4 v3, 0x1

iput-boolean v3, p0, Lcom/android/server/display/AutomaticBrightnessController;->mUseManualAutoBrightness:Z

.line 1026

iget v0, p0, Lcom/android/server/display/AutomaticBrightnessController;->mManualAdjustment:F

.line 1037

:goto_45

////////////////////////////// and :

.line 1029

.restart local v0 # "autoBrightnessAdj":F

:cond_52

iget-boolean v3, p0, Lcom/android/server/display/AutomaticBrightnessController;->mUseManualAutoBrightness:Z

if-eqz v3, :cond_5d

.line 1030

const-string v3, "AutomaticBrightnessController"

const-string v4, "[DAB] use ManualAutoBrightness is changed from true -> false"

invoke-static {v3, v4}, Landroid/util/Slog;->d(Ljava/lang/String;Ljava/lang/String;)I

.line 1032

:cond_5d

iput-boolean v5, p0, Lcom/android/server/display/AutomaticBrightnessController;->mUseManualAutoBrightness:Z

goto :goto_45

////////////////////////////////////
[Galaxy S6 Edge+ Themes and Apps] asc1977:
Hi. Thx but problem is that it not work. I tested and somebody else. Dont work if you hold phone to light spots. This problem also have ultimatewaffel on his 1000 trys to get it work
[Galaxy S6 Edge+ Themes and Apps] gitin:
sorry again for late replying, been really busy

but someone above confirmed that it is working on your rom, anyways please tell me where this code is not working

which rom or with which modes installed ?

thanks
[Galaxy S6 Edge+ Themes and Apps] asc1977:
I got this services.jar from anyone who take it from here. Its my services.jar from my rom. Crisscross rom. I see it at 5was reboot menue. The problem is, and nobody knows why, that if 5wayreboot menue is in services.jar the brightness fix wont work. I spended hours for this to find out why. No idea why. In my services.jar are 5way, disable high volume warning and dont wakeup if plug or unplug usb. But all this mods are not in same smalis line the brightness fix.

If you want we can test together or what i mean i can test for you your trys. We can start with a clean services.jar and add step by step the other mods if you want.

You can look in my thread for mods in S6 unified development what i have changed in services.jar

http://xdaforums.com/showthread.php?t=3321679
[Galaxy S6 Edge+ Themes and Apps] gitin:
sorry again for late replying, my job is giving me hard time :(

ok we can work together but my current rom which is audax has 5 way reboot menu and still has brightness fix

i did remove the code myself from the services.jar and it worked fine, although now the develop has fixed brightness issues himself in latest rom

so how cum in your rom there is no brightness fix after 5 way reboot menu ? there must be something else, do you have xposed or wanam module working ?

thanks
[Galaxy S6 Edge+ Themes and Apps] asc1977:
[MENTION=1771712]gitin[/MENTION]

i tried yesterday the brightness fix from others and also made a clean install of my rom. i think i dont have this bug. the override brightness funktion is there if you put spot on sensor but if you lay something on sensor my brightness dont change. i dont change the params in my services.jar any time but no bug there. only a little change but not like in the vid on youtube where you can see 50% dimming. i add my services.jar here so you can take a look inside. please tell me its fixed or not and try on your phone this services.jar if you can see the bug

thx

btw:

if you can make a screen video where i can see the bug i was happy because i cant find
[Galaxy S6 Edge+ Themes and Apps] gitin:
Hi,

to be very frank with you, normally people use their phones on Automatic Brightness all time so they won't see this bug

on the other hand there are few people like me who always use their phone on 80/90% brightness on manual mode

i always like to view multimedia on my phone with full brightness and never use automatic brightness, so while I am in my room with low light, the screen automatically dims even if i set it on 100% manual brightness so removing this code stops phone from changing any brightness value while in manual mode

if you use your phone on automatic brightness then don't worry about this fix

please note: if you put a cloth or block sensor with your thumb, you won't see brightness drop, at the same time

keep the sensor covered, lock and then unlock your phone, you will see less brightness, then remove your thumb from the sensor, it will increase the brightness

thanks
[Galaxy S6 Edge+ Themes and Apps] stakzz00:
G928P

Hey i installed and still it has the bug. I have G928P rooted on 6.0.1 and the first time i installed it i got bootloop and second time it worked fine i guess i forgot to change permissions first time but still no brightness fix... please msg me with any info skype: stakzz00
[Galaxy S6 Edge+ Themes and Apps] gitin:
please tell me what exact problem are you facing with brightness ?
[Galaxy S6 Edge+ Themes and Apps] stakzz00:
Not reaching full brightness

Not reaching super brightness. I hear that this only works with deodexed roms and I'm still on stock rom. There is no roms for g928p so now I'm trying to install a note 5 rom on it but i can't seem to get any help with that.
[Galaxy S6 Edge+ Themes and Apps] gitin:
Correct this and many mods dont work on odex roms, u need to deodex your rom

Search on xda, there are some apps which can deodex ur rom
[Galaxy S6 Edge+ Themes and Apps] 14eduardo144:
Hi,

I am having issues with the auto brightness in my s6 edge sm-g925t running XtreStoLite DeoMod Edition 3.2 MM

When using out in the sun auto brightness constantly changes depending on if I tilt my phone just 10 degrees

It's driving me crazy and I can't find a fix anywhere
[Galaxy S6 Edge+ Themes and Apps] Ehsan021:
+1