yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Android Development] mattiadj:
Please mate follow instructions on galaxy toolkit. You can restore your phone with easy steps

I think, until vtheme system is unable to decompile framework, i made a specific mod for specific rom.

I'll make a small site for request submission

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] maximoz:
Do you have access to a PC?

If yes, like mattiadj said go to this thread http://xdaforums.com/showthread.php?t=1703488 and use the toolkit to flash your stock rom. The rom are usually non wipe so you can flash over your current rom without losing anything.

You should then have a working phone back.

---------- Post added at 10:29 PM ---------- Previous post was at 10:26 PM ----------

Hmm i just full wipe then install wanam rom 2.0 and after booting up the phone, i applied the zip and i still have the power off and restart option when pressing and holing the power button.

---------- Post added at 10:33 PM ---------- Previous post was at 10:29 PM ----------

Hey mattiadi, the VR compatible zip i made uses the VRTheme system. It should be compatible with same base rom. Example, LFB, LG!, LG6 and LG8 are all of the same base but name different due to their region.
[Galaxy S III Android Development] mattiadj:
Can you tell me in pm how can i use use vr system?
[Galaxy S III Android Development] cwburns32:
Did a search and looked around for a bit and couldn't find an answer.

Does this work for the AT&T Galaxy S III running Task and KT's AOKP/CM10 ROM?
[Galaxy S III Android Development] maximoz:
PM sent :)

---------- Post added at 11:11 PM ---------- Previous post was at 11:06 PM ----------

Only samsung roms.

As for whether for the AT&T part, i am not sure, probably not?
[Galaxy S III Android Development] suta:
Hi, i'm on wanam 2.0, how ever i see no brightness level with default wanam 2.0, means it did not work? or maybe you can point out the value differences from stock? darker in a dark environment?
[Galaxy S III Android Development] mattiadj:
It may not works. The difference is evident

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] maximoz:
If you flash mattiadj's bestScreen version, it will be evident.

The first bool up you will notice the screen is brighter.

Flash back the stock version and it boots up dimmer.
[Galaxy S III Android Development] Putrid Polecat:
Just to clarify: This is only for the international SGS3? If so XDA should update the main blog post so as not to confuse people.
[Galaxy S III Android Development] cyrex85:
What fix would you recommend for stock XXLF5 rom?
[Galaxy S III Android Development] LordGeek:
Wondering if you can do this for the AT&T stock ROM for the SGSIII (SGH-i747) .. Baseband: I747UCLG1 / Build Number: IMM76D.I747UCALG1

Here is a Dropbox link to the "framework-res.apk" file.

http://dl.dropbox.com/u/23991754/framework-res.apk
[Galaxy S III Android Development] mattiadj:
We are working with maximoz to make a fix with vrtheme system to make easy to flash for all roms.

Stay tuned

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] lux@:
Very interesting! :)

I want to make my brightness but I don't find the file array.xml in my framework-res.apk...

Why?

The content of my framework: http://img10.imageshack.us/img10/809/frameworkv.png

Thanks! :D
[Galaxy S III Android Development] mattiadj:
You have to decompile and rebuild it my friend! Very annoying stuff in some cases!

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] lux@:
Sorry for my stupid question but... How I have to do to decompile it?

Open it with an archive reader is not enought? :angel:
[Galaxy S III Android Development] mattiadj:
No mate. I can't tell you about decompiling since my answer may will be not valid since we having some issues with rebuilding packages. You can Google it but for now I can't write a 100% valid tutorial

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] lux@:
Ok thanks! I'm looking for APKTool that I found with google.

Thank you again! :D
[Galaxy S III Android Development] Nazeroth:
Motocross.

For some reason any value lower than 8 is not taken into account on array.xml i tried initially using 5 for my lowest level and nothing happened. I also tried on log graph using sensor calibration and you start to see changes in brightness above 10.

Regarding the slow response time to go back to a lower level it is related to our lack of understanding on the hysteresis i am currently looking every everywhere for information on how it has been implemented but ics is not yet completely documented...

I also found a possible way to just add the array without having to modify the whole framework but still testing it.
[Galaxy S III Android Development] herzau:
BestScreen version exists for Omega 11?
[Galaxy S III Android Development] foocankill:
Successfully flashed stock brightness fix to Verizon S3. Thanks!

And this definitely fixes the extremely slow to respond brightness's.
[Galaxy S III Android Development] maximoz:
According to the omega website:

Mods:

Autobrightness is Fixed - available in Omega Files

Not sure what this autobrightness fix is but if you want to try, the VRTheme zip is compatible with LG8 custom roms too.

Problem being that omega might do some changes in the "value" folder of the framework and this might overwrite omega.

Other than that, all your stuff should remain as it is.

But as usual, please do a nanodroid backup and try it.

Do not do any wipe, just install the zip then reboot.

---------- Post added at 01:55 PM ---------- Previous post was at 01:53 PM ----------

Thanks for the update!

Could you list which mod you flash for this so mattiadj can keep a list of the working version?

Thank you.

---------- Post added at 01:56 PM ---------- Previous post was at 01:55 PM ----------

Oh this great news!

Please keep us updated Nazeroth!

---------- Post added at 02:27 PM ---------- Previous post was at 01:56 PM ----------

Is this for I9300?

Couldn't find any info on this rom
[Galaxy S III Android Development] VictorC666:
is it possible to use it with stock kernel LFB? No unsecure kernel in my S3
[Galaxy S III Android Development] mikelyon:
Strange feeling

Hi guys,

I'm on Omega V9.1 and install first the brightness fix of the ROM then go back to the default settings with Brightness-default fix.

Finally I install your mod, but in both situations (your mod + Omega fix) I always have the automatic brightness selection unchecked even if I check it. It goes unchecked after a while but still running even if in my opinion it does not perform very well (especially this morning in the car with sunshine the brightness remains too low).

I even did several installs of the ROM to reset settings and mods but the result is the same. Any idea ?

See the attach file
[Galaxy S III Android Development] mattiadj:
Why you need to use my mod then omega fix mate? Simply use only my mod.

Guys I hope today I'll release and universal version of bestScreen and gnote version which can be used with all LGx rom.

The others zip remains avaliable as archive

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] maximoz:
Like what mattiadj, did you try with just installing the rom then letting it boot and after that apply the brightness fix zip?

Does this also happens with the base rom with nothing flash?

---------- Post added at 04:08 PM ---------- Previous post was at 04:05 PM ----------

I think mattiadj meant "Rooted" in short.

From your signature it seems your phone is rooted with CF-Root and has CWM so it should be good to go.

But as always, please do a backup just in case!
[Galaxy S III Android Development] mayankchopra:
phone bricked isnt gettin switched on :(
[Galaxy S III Android Development] mikelyon:
Actually i have only mattiadj's mod. ;)

I only explain what i did and the feelings with omega fix and this mod .....

Envoyé depuis mon GT-I9300 avec Tapatalk
[Galaxy S III Android Development] maximoz:
Can you give more info like who model of S3, what rom you using.

Can you also go into recovery or download mode?

---------- Post added at 04:17 PM ---------- Previous post was at 04:16 PM ----------

Did you use his download in first post or the VR Theme zip?
[Galaxy S III Android Development] mikelyon:
Yep. I use " Download bestScreen brightness Fix tweaked by Mattiadj".

I also found another think : on video player such as bs player, the change of the brightness level does nothing... (slide up down on the left of the screen)

Envoyé depuis mon GT-I9300 avec Tapatalk
[Galaxy S III Android Development] maximoz:
Can try the vr zip posted here

http://xdaforums.com/showthread.php?p=29497257 and let us know if you still have that problem.

Please install this zip after a fresh install of the rom to be sure there's nothing else to interfere.

Thanks.
[Galaxy S III Android Development] mikelyon:
Ok. I'm gonna try that :

- re install Omega 9.1 (with no wype)

- reboot

- install VR_Brightness_bestScreen_LG1-8_LFB.zip

Ok with that ?
[Galaxy S III Android Development] maximoz:
Yup. Thanks :)
[Galaxy S III Android Development] VictorC666:
Thanks, I'll try it with backup first :)
[Galaxy S III Android Development] mikelyon:
Ok so, the slide for brightness on BS player works with your mod.

I still have:

- the automatic brightness unchecked but still running . This happened also after Omega 9.1 re-install.

- the brightness level too low for me (dim contrast) when I'm at office (didn't test it in car)

I'm gonna use it a bit more but think I need a fresh install of the Rom with wype ....

If you have another solution to 'reset' completely the brightness management, perhaps your "VR_Brightness_Stock_LG18_LFB.zip" mod ...

Anyway Thx for your response !
[Galaxy S III Android Development] maximoz:
Hmm this mod only works when using the auto brightness. It will make the default auto brightness brighter. It shouldn't affect the manual sliding brightness.

Could be your auto brightness unchecked but working messing up :(
[Galaxy S III Android Development] VictorC666:
I just run through your moded framework-res.apk and I can see there are modifications to many png files (compared to stock original framework are darker). Is this necessary to mod these for brightness mod to work?

Would it be possible to combine with this mod too http://xdaforums.com/showthread.php?t=1695559 If I flash it over it will probably overwrite itself isnt that right?

Thanx for help.
[Galaxy S III Android Development] mikelyon:
Found the problem. I'm dumb, tired, blind, stupid or whatever.:silly: It's the application "custom Auto Brightness" find in that thread that was running as a service + disable system autobrightness (in parameters) and was interferring with the brightness mod.

It's ok now, sorry dude!!

Simple question what are the differences between your mod and mattiadj. What is VR theme ?
[Galaxy S III Android Development] sangosnip69:
Absolutely useless. All the important files are in resources.asrc, and you change the original resources.asrc.

If you flash the original zip, there is no diffenrence with your file.
[Galaxy S III Android Development] sangosnip69:
There is absolutely no difference. I haven't think before post his VRtheme zip.
[Galaxy S III Android Development] maximoz:
Edit: Oops the below is to reply mikelyon ...

Mattiadj's mod contain the whole framework-res.apk file so it will include images etc being modified by whichever Rom the framework-res.apk is used.

The vr zip only modified the resource.arsc file which contains the xml being modified by mattiadj. So if you have a mod or theme that mod this file, you will have to use their framework-res.apk file to mod the brightness.
[Galaxy S III Android Development] maximoz:
Hmm do you have a better way to do this which perhaps you can share with us and help everyone here? :)

Basically we just need to change the array.xml file in the framework-res.apk :)
[Galaxy S III Android Development] VictorC666:
Well and thats what I am looking for... Because I have already modified my framework-res.apk so I dont want to loose other mods when applying this one :(
[Galaxy S III Android Development] maximoz:
Of course the best would be to use whichever rom you use and mod from there.

But this would mean a lot of rom to work on.

Since the vr theme only modified the required file, it will minimize any other changes made to other parts of the theme.

Nothing's perfect I guess.

To be safe, you should backup before trying :)
[Galaxy S III Android Development] VictorC666:
so maybe this is the solution http://xdaforums.com/showthread.php?t=1695559 because it mods only resources.arsc the rest is stock without mod
[Galaxy S III Android Development] maximoz:
Am downloading to take a look now :)

Edit: just downloaded the latest LG8 10AB levels and inside the zip is the whole framework-res.apk file and it's stock. So some of your theme will have stock look after flashing this.
[Galaxy S III Android Development] VictorC666:
yes I know, as I wrote in my reply

But it doesnt help too :( because every single mod which modified my framework-res.apk is overwritten with all these mods :( so only the last one takes place

If only would be here a simple way to "inject" these?
[Galaxy S III Android Development] floyd0815:
THX for this!

I've compiled "best screen" for Checkrom V4 and it seems to work great - THX!

The sensor/modul/... doesn't only detect a few states/steps (like on the SGSII "10 - 100 - 1000") but thousands, so it should be possible to generate far more steps - even more then you have done - right? But sure, if 50 steps make sense is another question...

First I had an issue to get it compiled but I noticed that in your code snippet there is a blank to much in that line:

<integer-array name="config_autoBrightnessKeyboardBacklightValues ">

(only in "best screen": the blank after "...Values" must be deleted)

So if someone is interested (and hopefully mattiadj is fine with it) here is the one for CR-V4:

EDIT: You don't have to flash the "15 Toggle mod" since it only changes the SystemUI and not the FW. :o

http://dl.dropbox.com/u/13058041/CR-V4-Brightness_fix.zip md5sum: e5f9a11fb49655bce7f8fc801db5c5ac

PS: Have I already said thx? THX again!
[Galaxy S III Android Development] mattiadj:
Thanks mate for your effort. It's really appreciated!

Now is more easy to flash this mod over other mods!! So no need anymore to make a custom fix for each rom :)

All details in OP
[Galaxy S III Android Development] sangosnip69:
I know that, you can ask Mattiadj, i speak with him about this from beginning of the thread.

Images are not the problem, anyone can re-install a theme after flashing the new framework.

All the xml are replaced when you flash your VRtheme, so you loose a lot of mods that are already in ( if you have put mods on your framework ), and this is the problem.

We need to work on a way for the recovery, to found how to make him decompile automatically the resources.arsc ( actually, it's a dream but I'm working on it, and it will be very hard ).
[Galaxy S III Android Development] floyd0815:
Oh, I haven't seen that! (VRthemes...) Since when is this possible with your mod?!?!

So I have to say THX - no need to compile it...
[Galaxy S III Android Development] mattiadj:
Since now! :)

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] bombe:
Works on checkrom v4?

Thanks
[Galaxy S III Android Development] mattiadj:
It's made to work on every rom XXLGx based

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] floyd0815:
:D Just saw the changes on my pc as I refreshed your thread. :D

Sadly I tried the "bestScreenSaver" (since I only tried/compiled "bestScreen") and got a bootloop on CheckRom V4 (with 15 Toggle Mod).

Now I have put your resources.arsc file into the fw.apk and it compiled/recompiled fine - so the file is o.k.

The VRTheme system is sure good for XMLs and stuff, but changing the whole resources.arsc seems to make problems in my case.

(haven't tried wiping cache/dalvik so maybe...) Also the download seems to be fine - same md5sum on SGS and PC: 9849a91e2eafddc165e9547351ed5446

But since I have the values for "bestScreenSaver" I will compile it myself.

What do you think or have you tried to make even more steps? 15-20?
[Galaxy S III Android Development] mattiadj:
Can you share your fixed version?

I have made a lot of tests and bestScreen values for me are the best. I'm using it since a week and for me it's ok. More steps not helps anymore

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] floyd0815:
I'm just uploading the whole zip (for a friend of mine...) but I don't know if this will work for others.

I also diffed the outgoing directories and there are only some differences in the plurals.xml so I don't know what was going wrong in my case.

The new compiled FW works and you were right -> little bit to dark...

http://dl.dropbox.com/u/13058041/CR-V4-BrightnessSaver_fix.zip md5: e3a6689f63557f417d2285fee58e879f

Will try your modding package again and report back! (cause maybe ?!?!?!)

EDIT:

Just tried your "bestScreenSaver" again and also "bestScreen" -> bootloop. SetUp: CheckRomV4 / stock framework / only 15 Toggles and center clock mod (SystemUI)
[Galaxy S III Android Development] maximoz:
I just tried bestScreen on checkrom v4 with 15 toggles and it works.

Make sure you don't wipe before installing.

---------- Post added at 02:24 AM ---------- Previous post was at 02:17 AM ----------

Yeah i agree it's not 100% universal but it's the closest i guess at the moment.

Hopefully not a lot of custom roms/themes modify this resource.arsc file.
[Galaxy S III Android Development] adirh3:
Hey, thank for your fix.

but I am using DragonICS so I have XXBLG8 Rom so I wanted to ask if I can use another version and it will work? and if you are planing to make a XXBLG8 version?
[Galaxy S III Android Development] maximoz:
It will work on LG1/6/8 roms too.

Tried on Checkrom v4.
[Galaxy S III Android Development] buljo:
I`m so sorry to ask such a stupid question..:eek:

but what numbers should i look at to determine the rom? the baseband or the build?

baseband XXLFB

build XXBLG3

and i`ve found ppl mentioned both...

really want to fix the brightness issue..
[Galaxy S III Android Development] maximoz:
Build is the rom version

Baseband is the modem version

Some custom rom name their build XXX Rom V1 etc. In this case you will have to go to the rom site to find out on the rom/build version.
[Galaxy S III Android Development] mattiadj:
So you can flash the fix in op. Your rom is fully supported mate

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] adirh3:
thanks :)
[Galaxy S III Android Development] buljo:
Thanks.. This one "http://android.simpleweb.it/gs3/mod_fix/vrtheme_bfix/real_brightness_fix_vrtheme_bestScreen_LGx.zip" ?
[Galaxy S III Android Development] mattiadj:
Yes

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] buljo:
flashed like a champ.. hoping for some sunshine to tell the difference.. the sgs3 was to low brightness in sunny conditions..

will i have to reflash this when an OTA arrives?
[Galaxy S III Android Development] maximoz:
Hmm will have to depends on what the ota changes though.

If it involves framework-res.apk then yup.
[Galaxy S III Android Development] mattiadj:
Which version have you flashed?

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] maximoz:
Mattiadj, the gnote and stock version have error when trying to download.
[Galaxy S III Android Development] mattiadj:
You can call me mattia, which is my name bro :)

Thanks and fixed, also i have update the code snippet :)
[Galaxy S III Android Development] Perka:
Just an fyi, no need to be rooted.

WHAT YOU NEED
International galaxy s3 with root, insicure kernel
ClockWordMod Recovery
My file attached

Can you post the values pls?
[Galaxy S III Android Development] mattiadj:
What do you mean??? You must be rooted!!:eek:
[Galaxy S III Android Development] Perka:
Dont want to argue, but u just need cwm. You can flash cwm files and not be rooted.

---------- Post added at 09:07 PM ---------- Previous post was at 08:48 PM ----------

But hey, why do you see that you need to be rooted?

Also insecure kernel is not needed.

Anyway, can you post the values?
[Galaxy S III Android Development] mattiadj:
Sorry mate but which values do you want??

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] Perka:
Stock vs yours if possible. Would be nice to have in op.

As there are some brightness mods out on xda.

Easy to compare as for example docrambone posts his values.

Thx. And great work btw :)

P.s me also thinks stock values are crap.
[Galaxy S III Android Development] mattiadj:
I think for all people stock values are crap. Also i have made a zip with sources of my values in second post. Not really need to report stock values but thanks for idea :thumbup:

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] The Undertakerr:
You can also take the resources.arsc from the vrtheme zip, and drop it in your framework-res, and then decompile your framework-res yourselve.

The values you'll find in res/values/arrays.xml, but I'm sure you know that.

Good luck!
[Galaxy S III Android Development] Perka:
Ops now I feel stupid not reading post 2 :p

Sorry and thx.

---------- Post added at 09:24 PM ---------- Previous post was at 09:20 PM ----------

Does this mod even tweak the response time on the ab?

As I feel the response time is really slow.

Or do you know how to get it to response quicker?
[Galaxy S III Android Development] mattiadj:
Histerieys values are also tweaked so the response is better and quicker but... Why don't try your self and report back your feel mate?

Inviato dal mio GT-I9300 con Tapatalk 2
[Galaxy S III Android Development] Perka:
Thx ofc I will try :)
[Galaxy S III Android Development] floyd0815:
Really? Then I don't know what's wrong with my device/rom.

I just downloaded/flashed "bestScreen" again (CWM app - no wipe) and got a bootloop - the 3rd time.

Did you use the mod from my post or the one from OP?
[Galaxy S III Android Development] maximoz:
Thanks mattia :)
[Galaxy S III Android Development] maximoz:
Your using checkrom v4 with 15 toggles and nothing else right?
[Galaxy S III Android Development] floyd0815:
Yes, no theme. Just the "15 Toggles" and "Center Clock" which only effect SystemUI.

I find it quiet wierd that it seems only my device doesn't like the VRTheme mod.

Also the "CenterClock" is a VRTheme and works for me...

---------- Post added at 07:59 AM ---------- Previous post was at 07:37 AM ----------

Hi!

Your mod seems to work fine for others but not for me - thankfully I have made your changes the my FW myself so everybody is happy! :good:

THX again and sorry for bugging you, but I just don't get why your VRTheme mod doesn't work in my case... really weird.

PS: In your code snippet is still something not correct: in "bestScreen" under "config_autoBrightnessLevels" the value 60000 should be 6000.
[Galaxy S III Android Development] maximoz:
Glad you are able to fix it yourself :good:

If you are adventurous, you can download and flash the "Theme Restore LG8" from checkrom kitchen and try from there :)
[Galaxy S III Android Development] wong_86:
HI mattiadj , just now i flash latest brightness Fix tweaked as Galaxy Note to my samsung s3 ( XXBLG1 stock rom ) + franco.kernel r12.

After reboot , it just hang at samsung logo.:( Luckly got nandroid backup.

So what version should i flash ?
[Galaxy S III Android Development] maximoz:
Oops misclick on the thanks haha.

Did you do any wipe before installing?

Which version will depends on your likes.

The first post states what brightness each version gives so it will give you an ideal which will be suitable to you.
[Galaxy S III Android Development] mattiadj:
I have fixed the code snippet.

About boot loop i suggest to all to flash this mod without wipe anything after the flash.

Flash and reboot.

Inviato dal mio GT-I9300 con Tapatalk 2