[Galaxy S6 Edge+ Themes and Apps] gitin:
The Most Irritating Feature/Bug for me !!!

Auto-Brightness even when you choose manual !​

Hi Guys,

most of you won't notice this bug, sami dims brightness even after it is set on manual.

Go to a dark room or with low light and turn the brightness to maximum under (manual), then blow a torch or turn on more lights, the brightness will then increase.

Actually it is not a bug, but sami wants to save some more battery coz they think who looks at display with full brightness all the time....but they are wrong !!

I do and many of us do...

I use my phone at 90% brightness most of the time and due to this bug/feature I was so angry, its like buying a BMW but you can't run it over 100km/h, why ? because company wants you to save fuel ...lol

Anyways, I saw many users ask about brightness bug on different rom threads and its better to include the fix here at one place for those who needs it ..simple

attached are services.jar files for different firmwares, if your firmware is not listed then please pm me your firmware's

services.jar

+

your rom and firmware name

ie.. AOJ5, AOJ1 etc..

credit goes to [MENTION=5228377]ultimatewaffel[/MENTION] , because he actually made this happen and I went deep into his edited files and managed to find what is causing this bug and managed to fix it myself.

He was away for a week I guess, so i couldn't wait for the fix for my latest firmware so decided to do it myself and I did it :)

Please make a backup of your current rom (in case if something happens) and then replace services.jar in your system>framework folder and then change services.jar file permission to 644

You must be rooted and you need root explorer or any other software which allows copying in system folder and changing its permission value.

Enjoy !! this phone is beautiful, far far better than my last iphone 6 / htc m8

tested on Deodexed STOCK ROM 928 F-I-C-L-K-S-G Edge+

New links for MM 6.0.1 will be added here because I can no longer attach files here (max no. reached)

S7 Edge SM-G935F : http://www120.zippyshare.com/v/mQ6RTqJV/file.html

Edge + MM 6.0.1 929G..etc : http://www46.zippyshare.com/v/jPyBKRIG/file.html

S6 Edge Crisscross rom 4.1: http://www60.zippyshare.com/v/8jYKLmFV/file.html

PLEASE HIT THANKS IF IT WORKED

AND CREDIT ME/THREAD IF YOU ARE USING MY FILES

SO MANY DOWNLOADS BUT ONLY FEW THANKS

?

​

HOW TO DO IT YOURSELF (I won't be able to do any more edits coz m really busy with my work)

baksmali services.jar and remove these lines from AutomaticBrightnessController.smali file under classout>com>android>server>display:

1st para :

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

2nd para :

.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

smali services.jar file again and then open services.jar using 7-zip and copy classes.dex file

code might be little different on your phone, so give it a try !