yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] panni:
I've built my own mid/high versions of the AutoBrightness mod using the instructions from the original post. Is there a particular reason the high versions aren't available for IML74K-based kernels?

If anyone interested, here are the mid and high patches for AOKP v27 on IML74K. To be used with CWM.

I'd love to see someone to implement the core patch to fix the odd behaviour that auto-brightness never dims on android >2.X mentioned here: http://www.sigterm.ch/?p=202.

BTW: When you try those two files I posted, please leave a note whether they work or not!
[Samsung Galaxy Nexus] mostlyharmlessnj:
Thanks for these! They work great, from the original post I liked the MID, but your AOKP ones the High seems better. They also work great on M4.
[Samsung Galaxy Nexus] panni:
I wouldn't use my mods on M4 guys, as framework.apk has changes in M4 compared to b27. I will update my mod soon for use with M4.

A separate thread wouldn't help, would it?
[Samsung Galaxy Nexus] panni:
Here are the mid and high versions of my AutoBrightness Mod for AOKP m4 based on IML74K.

I recommend the high version. I will be posting an optimized high version later.

Please, as before, test this - I am not now in a properly lit environment to do it myself.
[Samsung Galaxy Nexus] Shftup:
I am on m4 with Francos kernal - can I use your mod?
[Samsung Galaxy Nexus] Milamber33:
This has nothing to do with the kernel. Yes.

Sent from The Past into The Future via The Present. :)
[Samsung Galaxy Nexus] panni:
delete this please
[Samsung Galaxy Nexus] Shftup:
Just flashed this on M4 - looks great to me. Working very nicely. Thanx
[Samsung Galaxy Nexus] panni:
Here's the "optimized" version of the mod for AOKP m4. It uses more brightness stages compared to the standard "high" version and slightly brighter mid-high-range levels.

Please test it as it out should supercede the "mid" and "high" versions from now on. And yes, the kernel doesn't matter for this as it doesn't modify framework.apk.

Update 120315: I've added the original framework.apk/autobrightness from AOKP m4 as an update zip for those who want to revert back.
[Samsung Galaxy Nexus] Shftup:
Thank you for ur efforts. Updated to the pack above - even better...:)
[Samsung Galaxy Nexus] Shftup:
Panni, I sent you a PM. Its related to your zip file. thanks
[Samsung Galaxy Nexus] Shftup:
Thanks Panni
[Samsung Galaxy Nexus] Basian Mile:
Iam on Rootet Stock Rom ICL53F. I really like to have that kind of Power Menu. Is there any way to get that? Maybe i have not see and its allready there. And is it possible to add a Screenshot Button in the Menu too? Ive seen a Rom which have that. Its nice.
[Samsung Galaxy Nexus] he_stheone64:
Here you find some ICL53F mods

http://minus.com/mfTQMATUa
[Samsung Galaxy Nexus] he_stheone64:
If there is any interest, I can upload my current AOKP M4 setup, which includes inverted apps by travp624 and a matching bootanimation from nitroz. I only added subtle changes, which make a big impact for me.

Auto Brightness patch (medium values)

Slightly darker Menu, Toasts and popups (matched to notifications background)

More subtle and darker default dark gradient background in framework (like used in settings, looks way better on Amoled screens)

Real white default background in framework

Removed blue divider lines in Calendar from travp`s inverted Calendar (was too aggressive for me)

Since I really like ICS design, I only added subtle changes and changing mid gray menu, popups, toasts, bg gradients deliver a much more coherent experience for me. Maybe some of you feel the same remaining basically on stock with only some visual improvements. Since this is not really a Theme and important parts are from travp, I have no intentions creating a separate thread for it, but could post it here for testing.
[Samsung Galaxy Nexus] olivercervera:
Hi, i've installed

1- ICL53F_AB_APM_LOW

2- ICL53F_BatteryMod

The battery % is perfect, the brightness also. But i have no Advanced Power Menù. I tried to reinstall the mod but nothing changes.

Any solutions?
[Samsung Galaxy Nexus] Milamber33:
Which ROM are you on?

Sent from The Past into The Future via The Present. :)
[Samsung Galaxy Nexus] he_stheone64:
Here is the Download Link for Milestone 4 - please note I will only update this for Milestones, not for builds.

http://minus.com/m6U2tWMU3/1l
[Samsung Galaxy Nexus] olivercervera:
It's written in my signature: Stock 4.0.2 :)

(however I think that in some days i'll install a 4.0.4 rom!)
[Samsung Galaxy Nexus] Milamber33:
I'm using the Android app, I don't see signatures.

And as for your issue, you need to be using a deodexed rom to get the advanced power menu. If you want to stay close to stock, I'd suggest something like Android Revolution HD, which is basically just stock which has been rooted and deodexed and a couple of performance tweaks added. The AB and APM here should work fine on it.

Sent from The Past into The Future via The Present. :)
[Samsung Galaxy Nexus] panni:
Well as AOKP r28 implemented custom levels for backlight I won't post any BrightnessMod versions anymore. Just adjust them in settings to your need.
[Samsung Galaxy Nexus] paranoid2007:
Could someone please post a guide how to configure auto brightness in AOKP v28? I read the first post, but I'm unsure about where to enter the values. Also I'd like to know the values for bright vs moderate dimming.

Gesendet von meinem Galaxy Nexus mit Tapatalk
[Samsung Galaxy Nexus] he_stheone64:
Here my medium brightness values, that worked for most.

config_autoBrightnessLevels are the sensor steps

config_autoBrightnessLcdBacklightValues are the actual brightness values, which you can now set in your ROM. Just test these and then finetune, when necessary.

<integer-array name="config_autoBrightnessLevels">
<item>6</item>
<item>9</item>
<item>14</item>
<item>20</item>
<item>30</item>
<item>46</item>
<item>68</item>
<item>103</item>
<item>154</item>
<item>231</item>
<item>346</item>
<item>519</item>
<item>778</item>
<item>1168</item>
<item>1752</item>
<item>2627</item>
<item>3941</item>
<item>5912</item>
<item>8867</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>45</item>
<item>50</item>
<item>55</item>
<item>60</item>
<item>65</item>
<item>70</item>
<item>75</item>
<item>80</item>
<item>85</item>
<item>90</item>
<item>95</item>
<item>100</item>
<item>105</item>
<item>116</item>
<item>133</item>
<item>152</item>
<item>174</item>
<item>199</item>
<item>228</item>
<item>250</item>
</integer-array>
[Samsung Galaxy Nexus] :
heyho old friend, looks like you were/are MIA/AWOL just like me :) good to see you are still alive and kickin' though :)

now back to MIA for me
[Samsung Galaxy Nexus] he_stheone64:
That sounds nice buddy. I just returned from Vienna. During my South Beach trip I purchased a nice Transformer Prime, great Tab. In any case enjoy Miami, it's always worth a trip. It's basically my 3rd home...
[Samsung Galaxy Nexus] olivercervera:
Hi he_stheone64,

the 4.0.4 battery mods that are already online will work good on 4.0.4 official? (IMM76D)

I NEED THEM :Q_
[Samsung Galaxy Nexus] :
if you "NEED" them, why dont you go ahead and use he_sthones tutorial to create them yourself?

that the whole point of him giving you the tutorial
[Samsung Galaxy Nexus] giwrgos:
any version for 4.0.4 IMM76D?
[Samsung Galaxy Nexus] olivercervera:
The tutorial is only for the brightness mods.
[Samsung Galaxy Nexus] he_stheone64:
I have a separate thread with a tutorial for 1% battery.
[Samsung Galaxy Nexus] KULASSE:
Hello please can you make an update to version 4.0.4 IMM76D.
[Samsung Galaxy Nexus] he_stheone64:
You find new 404 Auto Brightness & 1% Battery here (last 2 files):

http://minus.com/mbpeX6Yumh/
[Samsung Galaxy Nexus] KULASSE:
thank you very much
[Samsung Galaxy Nexus] gbalerdi:
Hello,

Danke schon for this.

I have stock rom 4.0.4 (IMM76D build). In the 4.0.4 folder from the first post there are 2 different AB patches:

Ir11B1_404_AB_MID_BtStock.zip and Ir11B1_404_AB_MID.zip

Please, what is the difference and which one should I use ?

Thank you very much, and sorry if this was explained already, I did not see any comment about this.

Gonza

EDIT:

Sorry, please disregard :-P I did not see the comments when you press the blue buttons. BtStock means "back to stock"

---------- Post added at 06:12 PM ---------- Previous post was at 05:49 PM ----------

Oh ... the "deodexed" requirement means that it will not work with 4.0.4 Stock ROM ?

Sorry, I'm learning all this...

Thanks

Gonza
[Samsung Galaxy Nexus] Milamber33:
Also, I think those two are based off the leaked beta 4.0.4 for LTE (IMM30B, I think), which is an earlier build of 4.0.4 than the new official stock GSM build (IMM76D), so I'm not sure it would be safe anyway.
[Samsung Galaxy Nexus] gbalerdi:
So.. still not clear to me, so just to confirm.

This does NOT work for STOCK 4.0.4 (IMM76D build) ?

If yes, which file?

Thanks so much!

Gonzalo
[Samsung Galaxy Nexus] Milamber33:
The ones in the OP aren't for IMM76D, but look up a few posts and you'll see a link to where you can download newer builds.

Sent from The Past into The Future via The Present. :)
[Samsung Galaxy Nexus] afilopou:
File does not exist!I am in 4.0.4 (so its odex) and i would like to have the advanced power menu.Any help?Thanks a lot
[Samsung Galaxy Nexus] Milamber33:
Learn to read.

1. You MUST be using a DEODEXED ROM.

2. I haven't seen the Advanced Power Menu anywhere yet, waiting on it myself. Those mods are just for 1% battery and auto brightness.
[Samsung Galaxy Nexus] he_stheone64:
Why don`t they exist?

Here direct link for AB Patch 4.04 stock

http://minus.com/mbpeX6Yumh/5

Here direct link for circle battery 4.04 stock

http://minus.com/mbpeX6Yumh/7
[Samsung Galaxy Nexus] afilopou:
Your complaints to tapatalk sir (as you can see i posted from tapatalk) and for some reason i couldnt see the first post :rolleyes:.I always read..anyway tks for your answer

he_stheone64 clicked the link from your previous post in phone browser minus.com gave me that files does not exist.Dont know why that happened.Anyway tks

Just tried it again through phone and have the same result
[Samsung Galaxy Nexus] gbalerdi:
I see , thank you. But will they work with the normal stock 4.0.4 google build that I received by OTA?

It´s really the odex/deodexed thing that confuses me: As far as I know, the stock ROM is Odexed, the 1st post says DEODEXED ONLY , but now we have a 4.0.4 stock version ......

Thanks

Gonza
[Samsung Galaxy Nexus] afilopou:
Stock=odexed and you need deodexed in order to flash them
[Samsung Galaxy Nexus] gbalerdi:
Thank you , that's what I thought, that stock is odexed so it should not work. What confused me is that the patch is called "AB Patch 4.04

stock

"
[Samsung Galaxy Nexus] Milamber33:
There's generally someone who puts up a deodexed stock shortly after each new release, and AFAIK it's easy enough to make anyway. I think it's as simple as finding the .odex files and deleting them, though you'll probably want to confirm that before randomly deleting stuff... :p
[Samsung Galaxy Nexus] he_stheone64:
Minus Links do not work very well from Phone browser. So you better download them to your PC.

Send from my HTC One S
[Samsung Galaxy Nexus] ILLHYHL:
Hi.

Im currently on aokp marugo build 29 mod on gsm gnex.

Im confused which zip i have to download.

Can anyone tell me what i should download?

Thanks in advance
[Samsung Galaxy Nexus] he_stheone64:
Why do you want to flash that mod, if you are on AOKP build 29? You already have APM and you can set your prefered AB in ROM settings. If you are looking for the inverted and color improved mod (popups, settings bg), then this is it:

http://minus.com/m6U2tWMU3/2
[Samsung Galaxy Nexus] cichy20a:
Hey guys, maybe You have a link to guide how to add Advanced Power Menu to stock ROM to tablet device. I've searched and found nothing that can come handy. A tutorial how to edit files and with what would be much appreciated :)
[Samsung Galaxy Nexus] Milamber33:
Quick question, will the AB and Circle Battery mods for IMM76D also work fine on the new IMM76I? Were any of these files changed in the update?
[Samsung Galaxy Nexus] Henipah:
Worked for me (on ARHD 4.0). Do a backup first & give it a shot
[Samsung Galaxy Nexus] 1wayjonny:
I second this =)
[Samsung Galaxy Nexus] arhung:
A noob question, are there a advanced power menu for 4.0.4(ARHD4.0.0)?
[Samsung Galaxy Nexus] addelh:
I've noticed since 4.0.4 that there is noticable lag when unlocking the phone when auto-brightness is enabled, does this patch fix that?

I think it's an android 4.0.4 thing as it never used to be an issue prior.
[Samsung Galaxy Nexus] Flukester69:
I agree, I have that issue too. Does this mod even apply anymore with any ROM's? I'm on LiquidSmooth myself.
[Samsung Galaxy Nexus] he_stheone64:
Maybe you flashed the IR11 Beta versions from BOX link?

This mod was based on 4.04 final stock.

http://minus.com/mbpeX6Yumh/5
[Samsung Galaxy Nexus] drunkboi:
N/A
[Samsung Galaxy Nexus] jackie_jagger:
any idea on this mods performance on Android Revolution?
[Samsung Galaxy Nexus] Bonvaz:
Can anyone give me a really bright settings for aokp???
[Samsung Galaxy Nexus] he_stheone64:
Yes you can, as long as you use ITL41F
[Samsung Galaxy Nexus] pan24:
can this be applied on the lte model?
[Samsung Galaxy Nexus] he_stheone64:
Haven`t diffed the frameworks yet, so you can only test it after a nandroid.
[Samsung Galaxy Nexus] eybee1970:
hi Stoney,

is this just changes in arrays.xml? If yes, I'll diff with mine on Galaxy Note, if not please tell me...:)

Thx mate.
[Samsung Galaxy Nexus] DJTaurus:
I tested both fixes and i prefer this one. Pauls fix is too damn dark :o

Υellowish effect still exists but it has reduced a lot.

Great work he_stheone64 :)
[Samsung Galaxy Nexus] he_stheone64:
Good to see you old warhorse :D

Hope you are having a good time with your supersized Galaxy. It´s only arrays.xml, but you need to note, that you can`t just use same values across platforms. So you need to find a fitting approach for your device.

General approach - these are the sensor values:

<integer-array name="config_autoBrightnessLevels">

<item>100</item>

<item>200</item>

<item>400</item>

<item>1000</item>

<item>3000</item>

</integer-array>

These are the actual brightness values for each sensor step

<integer-array name="config_autoBrightnessLcdBacklightValues">

<item>60</item>

<item>80</item>

<item>100</item>

<item>125</item>

<item>125</item>

<item>250</item>

</integer-array>

So I would recommend only changing brightness values, in my case the biggest changes were the low light values, since these really are awful in GN stock.
[Samsung Galaxy Nexus] m0nji:
might be a different framework. i'm on stock ITL41F.I9250XWKK8 with baseband XXKK1. but i think this patch is for ITL41F XXKK8 Build. is this possible?

as i said....i only get FC's with this and paulobriens patch.

so the question is, what do i need to compile an own cwm patch script.

i use the multiapk manager to decompile/compile an apk.

do i only need the framework-res.apk?

i tried to modifi your patch script (only replacing my new compiled framework-res.apk with arrays.xml changes) but the result was that i had an tablet like orientation. :(

but autobrightness changes worked so far and i had no FC's.

---------- Post added at 06:43 PM ---------- Previous post was at 06:25 PM ----------

steps i have done:

- put the framework-res.apk to the "place-apk-here-for-modding" folder via adb pull

- run Script.bat and run 9 for Decompile

- made the changes in projects/framework-res.apk/res/values/arrays.xml file with speededit

<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>40</item>
<item>60</item>
<item>80</item>
<item>125</item>
<item>125</item>
<item>250</item>
</integer-array>

- 11 to compile apk and hit twice yes for system app question and the second, i can't remember

- delete the resources.arsc file in the keep folder and hit enter

- 25 for change the current-app to unsignedframework-res.apk

- 5 for zipalign

- renamed the the unsignedframework-res.apk to framework-res.apk and moved it to your zip in the system/framework folder via 7zip.

- booted to cwm and flashed it

then i had this tablet like orientation :(

...i made some screenshots for better understanding of the "tablet like orientation"

EDIT:
[Samsung Galaxy Nexus] robto:
Great mod! Works fine on stock rom. Thanks!!
[Samsung Galaxy Nexus] he_stheone64:
In theory that sounds ok, except no.25, which is obviously something special in multiapk (I use apkmanager or apktool). So maybe you try the same process with apkmanager.
[Samsung Galaxy Nexus] he_stheone64:
Something to test, works fine so much on my device:

Based on Villain`s androidpolicy.jar - credit for that goes to the Team

I added:

AutoBrightness Patch

Lockscreen Rotation

1% Battery

Advanced Power Menu (comes from Villain)

If someone does not want the 1% battery, delete systemui.apk from update.zip BEFORE you flash

Download:

Edit: Removed, still too buggy
[Samsung Galaxy Nexus] sluflyer06:
Just flashed this on top of Franco's dec.7 kernel. Working well so far, will report back.
[Samsung Galaxy Nexus] Muuhmann:
Hi,

Could you please explain what the 1% battery mod is?

Thanks!
[Samsung Galaxy Nexus] UnknownPleasures:
Curious.

If theres no SD card and I can't mount it in CWM.

How am I supposed to get the zip onto the device?

Via ADB?
[Samsung Galaxy Nexus] he_stheone64:
That`s another Thread, but it shows you battery status in 1% steps in statusbar.
[Samsung Galaxy Nexus] he_stheone64:
Just connect your device via USB, it supports MTP (like Windows) and you can drag the zip on the "internal" SD. Then flash via ROM Manager or in CWM.
[Samsung Galaxy Nexus] UnknownPleasures:
Ah, I'm using osx so I guess I'll have to try android file transfer. At the moment, nothing shows up in finder ala gingerbread.
[Samsung Galaxy Nexus] he_stheone64:
That`s correct, that will work for you on Mac.
[Samsung Galaxy Nexus] jameslfc5:
Definitely agree with the "dirty table white"

So to be clear... Does this just give the screen the capability to go brighter then stock?

Cheers
[Samsung Galaxy Nexus] Fizwiz:
Do you think this fix could work on model ITL41D?

Thanks
[Samsung Galaxy Nexus] afilopou:
As OP said, this only work with ITL41F
[Samsung Galaxy Nexus] sabesh:
If you try it, please let me know how it went :) Thanks.
[Samsung Galaxy Nexus] he_stheone64:
Advanced Power Menu

Credits: BIG THX to MCOGW for his help

NEW - the Auto Brightness Patch now comes bundled with Advanced Power Menu. This allows you to reboot or reboot to recovery from Power Menu.

What you need: Deodexed Custom ROM on ITL41F Base, Nandroid Backup

The patch now comes in 3 Brightness levels:

LOW - brighter then stock, but still relatively moderate

MID - good mid values for most users

HIGH - higher values especially at low light conditions to avoid "ugly" whites

Download AB Patch ITL41F LOW:

Multiupload.com - upload your files to multiple file hosting sites!

Download AB Patch ITL41F MID:

Multiupload.com - upload your files to multiple file hosting sites!

Download AB Patch ITL41F HIGH:

Multiupload.com - upload your files to multiple file hosting sites!

In case you want to return to stock - here the restore zip. Copy this zip on your GN together with your prefered patch, then you can restore very quick in case of issues.

Download "back to stock" framework ITL41F

Multiupload.com - upload your files to multiple file hosting sites!

Screenshot Advanced Power Menu:
[Samsung Galaxy Nexus] EddyOS:
APM working perfectly, thanks a lot! :D
[Samsung Galaxy Nexus] DJTaurus:
Tested all of these and choose the Mid Brightness zip :)
[Samsung Galaxy Nexus] EddyOS:
Went for medium too, works a treat!
[Samsung Galaxy Nexus] he_stheone64:
so I was right - see "MID - good mid values for most users" :D

Anyway - every bunny is different...
[Samsung Galaxy Nexus] daandman:
Can the advanced power menu be installed separately?
[Samsung Galaxy Nexus] he_stheone64:
No - you need both framework-res.apk and android-policy.jar to make it happen (jar refers to public ID`s in framework). Anyway I just finished a stock APM for ARHD, if you prefer the very low stock Brightness values. Just look in Mike`s ROM thread.
[Samsung Galaxy Nexus] inffy:
Can these be used with your circle battery % mods too? Or will they screw each other out :P
[Samsung Galaxy Nexus] he_stheone64:
No problem - this mod is framework-res.apk and androidpolicy.jar, battery mod is systemui.apk. You can always look in the update.zip, then you`ll see whether they fight each other.
[Samsung Galaxy Nexus] sluflyer06:
Will flashing this mod overwrite any custom Kernels? I'm running Franco's and don want to erase any of his changes.
[Samsung Galaxy Nexus] EddyOS:
Nope, won't touch it
[Samsung Galaxy Nexus] mrBira:
Any chance we can get this to work on stock rom?

I havn't tried any custom roms yet since there seems to be to many issues so far.

My stock (rooted) rom has very good batterylife, not a single crash/reboot/freeze, and has 1 week uptime, and that reboot was cuz of the volumefix OTA.

So i'm afraid i will break something that works :]

Thanks
[Samsung Galaxy Nexus] he_stheone64:
It`s possible, but someone needs to re-odex the classes from androidpolicy.jar - then you still have decent chances of bootloop with the framework. It`s always a decision you need to make, since more mods from different guys will arrive soon and most of these are for deodexed ROM`s. In any case you can find a deodexed stock ROM here in dev section, so that should do the job for you.
[Samsung Galaxy Nexus] jameslfc5:
Definitely agree with the "dirty table white"

So to be clear... Does this just give the screen the capability to go brighter then stock? Therefore making whites better?

Cheers
[Samsung Galaxy Nexus] he_stheone64:
YES and NO :D

It offers higher Brightness values especially under low light conditions in AutoBrightness mode. Now you can always change Brightness manually, but in real life Auto Brightness delivers more comfort, since it regulates brightness with the sensors telling the system "guys, it`s sunny here, we need more light :cool:" or, "wtf, we are in a darkroom, scale down guys" :p

Bottom line - with this patch whites certainly improve, when you like to use AutoBrightness mode.
[Samsung Galaxy Nexus] jameslfc5:
Thanks for a good response mate, so just to be clear this doesn't offer any brighter or dimmer colours than it would if not using auto brightness?

Ps, German schools are just too good at teaching English! :p
[Samsung Galaxy Nexus] sluflyer06:
Am I missing a step or might this not be compatible with Franco's Kernel. I downloaded the mid level zip, booted to Recovery, flashed zip, restarted. No Power menu options :(
[Samsung Galaxy Nexus] flakz0r:
This should not be affected by the kernel. Do you have a deodexed rom installed?
[Samsung Galaxy Nexus] sluflyer06:
LOL..doh. Forgot I went back to stock rom w/alt. kernel.
[Samsung Galaxy Nexus] PaulW21781:
Cheers for this :)

Just installed it on THIS ROM, working fine with the Circle Battery Mod too (for those who are asking/may ask if they are compatible).

Using the Medium-brightness one for now, will see how I get on with it!

Now all I need is for the Facebook Contact Syncing to be sorted for deodexed ROM's and then that's pretty much my phone sorted :) As close to stock as possible with a few little tweaks is all I need!
[Samsung Galaxy Nexus] he_stheone64:
That is correct, it just offers the opportunity to use the AB without getting blind :D

P.S. No german schools, Chinese and US vendors :p
[Samsung Galaxy Nexus] he_stheone64:
Paul has this feature in dev stage, we`ll see how stable that one will be. Would definitely be a nice add-on.
[Samsung Galaxy Nexus] jameslfc5:
Oii you could include UK vendors if you like ;) give us some credit haha

Great job tho and amazing English!

Thanks
[Samsung Galaxy Nexus] mrBira:
Okay, so i made it. I flashed Android Revolution HD™ 1.3.1. And i don't regret it!

Anyhow... anyone else flashed this mod on this rom, and can say it's safe to do so?
[Samsung Galaxy Nexus] infernalman7:
Flashed this after ARHD1.3.2 on "STOCK KERNEL" and everything is okay!