Auto brightness level - Legend Themes and Apps

hi guys,
there is an app (or a method) to change the auto brightness level? something like in CM 6.1...

loscassapalle said:
hi guys,
there is an app (or a method) to change the auto brightness level? something like in CM 6.1...
Click to expand...
Click to collapse
Which rom you are using ?

Froyo, the Blayo one

no one knows?

i found a solution, but i don't know how to do it.
framework-res.apk. It's resources.arsc. If you want to mess around with the brightness levels yourself, you can open it up in a hex editor, and the following values seem to be the brightness levels:
Offset 0x71E20: Minimum brightness
Offset 0x71E2C: Next level of brightness
Offset 0x71E38: Next level of brightness
Offset 0x71E44: Maximum brightness
Click to expand...
Click to collapse
i think it could be a good improvement for our batteries.
someone can tell me if to install the modified apk i have to reflash the rom or there is a faster way?
EDIT: i'm trying to modify it, i found 71E20, but not the others.

Hey, I know this is from a long time ago but did you have success making your changes? If not I made the required changes for blayos 0.84 framework-Res.apk for auto dimming. I can post it if you want.
sent from my legend, currently using extream legend fuseā„¢

Not sure if this can help, but an app on market could help you. It is named "Lux", I heard about it. I tried on zeubea's CM9 Beta0, and it didn't worked, because if not on app's main screen, it detects no light. Maybe on other ROMS it does.

Tested on Devils CM7.1
It almost works on CM7.1, but doesn't respond dynamically (i.e It doesn't adjust as soon as the ambient light level changes, it changes as it feels, kinda randomly). Therefore... not really working - sorry.

cyanogenmod -> display ->automatic backlights -> use custom(check) after that edit other levels and on the third colum make this changes
20 35 50 65 80 110 130 160 180 200 then go to the bottom on the screen and press 'set number of levels' after that go to the top and press 'Save and apply ' and you are done you dont need any app

Related

Modify Dalvik HeapSize and Lcd Density

Modifying the LCD density of your screen will provide HUGE REACTIVITY GAIN to the tablet
We can also tweak Dalvik heapsize for large application
Both are editable using software but they're also properties on the build.prop :
- dalvik.vm.heapsize
- ro.sf.lcd_density
Does editing this properties is enough for the Folio follow or do we have to make much complex operations ?
I there, is this fix already implemented or has to be done manually?!?
I've implemented them using FolioWidget rewriting build.prop.
Not sure the folio take care of it.
But it seems that's is not required by users so i'll wipe them
Sol Ido said:
I've implemented them using FolioWidget rewriting build.prop.
Not sure the folio take care of it.
But it seems that's is not required by users so i'll wipe them
Click to expand...
Click to collapse
I dont understand what u mean.
ps: have u read my pm?
Sol Ido said:
I've implemented them using FolioWidget rewriting build.prop.
Click to expand...
Click to collapse
density of 120 works quite fine here now.. with old market app, there was a problem with 120 but that seems resolved now with new market app..
and yes, somehow screen and browsing seems to work better? or is it just the bigger picture giving a nicer resolution of browsing?
All resolution are good. If you have a lot of items on the screen lower density is best.
But by using something like 180 you get a lot of visibility. Since i've developped a lot of complex widgets, it's my favorite one.
Using a density >120 will get you less data to manage on the screen and you can feel the gain ! i'm using multipicture and a lot of complexes widgets and there's not fillrate lag at all.
I was quite surprised with this benefits.
My purpose is that those options can really feet somes users needs. VM heap tricks like the one you found on cyanogen helps on huge application like PDF readers.
But even after editing those properties on the build.prop they are not taken into account. Maybe because of the previous installation i've done. So i'm looking to better understand how to override android properties.
I'm not sure how android handles non-default values for this property.
You should try with one of these:
120 (low-density)
160 (medium-density, Folio default)
240 (high density)
Depending on how this is handled, setting a density different than that may result in broken applications (depending on how the layouts are coded)
Using the LCD DEnsity application i confirm that all resolution are compatible with the folio
Maybe some application will have a bad behavior ! so we've to be able to change the density
metuskale said:
I there, is this fix already implemented or has to be done manually?!?
Click to expand...
Click to collapse
This is no fix, as there are no real issues with these things. Its only a matter of tweaking the folio to your best personal use. They have to be implemented manually.
Shouldn't the dalvik heapsize fix the sound problem with some avi files?
I'm using the foliomod 1.3d, foliowidget works, but some avi files arn't giving me sound
Hello, could someone tell me how the default value for the heapzize is, please? There is only 16, 24 and 32 to choose, but I read something about 64!? How can I choose this value or get back to default?
Thx
Tom
Edit: solved!

is it possible to change resolution on my viewsonic tablet?

Hi All,
I currently own a viewsonic vpad 10s tablet. It's currently on 1024x600.. is it possible to have a software hack or other to change the resolution to 1280x like the xoom?
The short answer is no.
The longer answer is...kind of.
https://market.android.com/details?id=com.beansoft.lcd_density_changer&feature=search_result
BK553 said:
The longer answer is...kind of.
https://market.android.com/details?id=com.beansoft.lcd_density_changer&feature=search_result
Click to expand...
Click to collapse
OK, and now the even longer answer.
There is no way to increase the resolution to 1280 x 800. Our display is an AU OPTRONICS B101AW06. Look it up on the net & you'll find max resolution is 1024 x 600. What BK553 is speaking about is a change in text DPI. You can see this in Windows where you can change the DPI. Manufacturers normally set the DPI to give the user the best readability but not necessarily the highest DPI. If you change the DPI, text & icons will become smaller (or larger depending on if you increase or decrease the DPI). To see what effect LCDDensity Changer may have, see the attached picture. Icons are smaller & text is smaller, giving the illusion of higher resolution. Notice how the backbround is the same while the text & icons are smaller.
Again, you can not change the resolution...videos, pictures etc will always displayed at a max resolution of 1024 x 600.
By the way, check this post http://forum.xda-developers.com/showthread.php?t=864338&highlight=lcd and you will see that atleast in Dec 2010 there used to be a field in build.prop that you could change to change the DPI. I looked for it in mine (I'm running Calkulin+Clemsyn Combo v6) and that field no longer appears.
hatorihanzo said:
Hi All,
I currently own a viewsonic vpad 10s tablet. It's currently on 1024x600.. is it possible to have a software hack or other to change the resolution to 1280x like the xoom?
Click to expand...
Click to collapse
I use blade and spare parts to tweak the dpi. don't think you can get up to 1280 with any software though.

[TIP][Guide]Change Default Home Button Color

Hi Guys.. I've been searching for ways to change the default color of Home Button of our Ray. Been on decompiling/compiling framework, settings... but got nothing or don't know exactly what xml/smali that controls the color of the buttons. So, by doing some trials-and-errors...:crying: Maybe this time I hit it.
First of all I want to thank:
JJDOCTOR for giving the hint to enable the light of Home button.
boy*racer*- max echo value is 20000
and all of you GUYS here on xda..
So here it is, navigate to system/etc/pre_hw_config.sh using ROOT EXplorer and find these lines:
echo 1000 > $dev/red/max_current
echo 1000 > $dev/green/max_current
echo 1000 > $dev/blue/max_current
and change to anything you want, I made it to
echo 1000 > $dev/red/max_current
echo 2000 > $dev/green/max_current
echo 9000 > $dev/blue/max_current
THE HIGHER THE VALUE, THE BRIGHTER THE LED.
Save changes....
For color preferences calculations: Go here. Thanks to Xtremy.
The above is nearly ICS Blue... You can put any values you want til 20000(?) except ZERO (0). By putting zero, that color will not be used by the system notifications ( I think)...
THIS WOULD NOT MAKE ALL OF THE NOTIFICATIONS COLOR TO THE COLOR YOU HAVE SET, ONLY THE DEFAULT HOME BUTTON COLOR IS AFFECTED. Sorry if the first flash of notification is not the COLOR you desired, only the succeeding flashes... I'm not a developer, I don't know how to do this correctly.
I THINK THIS WOULD NOT WORK ON CM-BASED ROM, BECAUSE THE HOME BUTTON LIGHT IS DISABLED (automaticbrightness is already set to FALSE). If somebody can make it to work, just apply it.
SOME DEFAULT COLOR WOULD NOT BE THE CORRECT APPEARANCE AFTER CHANGING THOSE LINES.. example, Violet is not violet when you use it as message notifications, still ICS Blue(?). Just raise the values.
REBOOT IS A MUST... Hope it won't bootloop...
adulfo said:
......................but got nothing or don't know exactly what xml/smali that controls the color of the buttons..........................:
Click to expand...
Click to collapse
XML is used to create user interface and the components used in app and java is used to create executable codes that will make apps functionality.
XML and smali are created automatically in app development.Though notepad++ is best to type XML.Best and easiest way to create a xml file is just write code in notepad++ and save it with extension of .xml.If you are developing an application of android then xmls are created by software itself. You will just need to specify name and add it to project as xml file...
thank you! i was just looking for this:good:
This is a nice mod adulfo! :good:
I wrote a little tutorial for finding your color value:
Go to this Color Wizard website.
Choose the color of your choice in de color bars.
In the #box you find the hex value for your color.
For this tut i use a nice orange E45F13 hex value.
Split de value in three pieces E4 5F 13.
1st byte E4 xx xx is for the Red value. (#FF0000)
2nd byte xx 5F xx is for the Green value. (#00FF00)
3rd byte xx xx 13 is for the Blue value. (#0000FF)
Open windows calculator set it in Scientific Mode.
1) Hit F5 to select HEX.
2) Type in your first hex (if HEX is 00, decimal is 0)
3) Hit F6 to convert to decimal.
Do this for all three hex values and write down the numbers...
1st byte E4 xx xx E4=228
2nd byte xx 5F xx 5F=95
3rd byte xx xx 13 13=19
As we know "max echo value is 20000" or 255 so:
20000 / 255 X 228 (your 1st above number)= 17882 for the Red Value
20000 / 255 X 95 (your 2nd above number)= 7450 for the Green Value
20000 / 255 X 19 (your 3rd above number)= 1490 for the Blue Value
Change the values in system/etc/pre_hw_config.sh for red, green and blue save & exit, reboot!
---------- Post added at 12:48 AM ---------- Previous post was at 12:37 AM ----------
I use the Tron Legacy Cyan color: 00DFFC
1000 for the Red Value.
17490 for the Green Value.
19764 for the Blue Value.
also note:
I set the first byte for Red to zero
after reboot it went to 1000 value,
so I think 1000 is the lowest value.
Thanks mate.. To those also having problems converting those values, you can google HEX to RBG converter.
wow it is very great and i change it
works perfect
4.0.4 587
psp1987 said:
wow it is very great and i change it
works perfect
4.0.4 587
Click to expand...
Click to collapse
Would be nice if you will read my signature...
what does this change ? the light shown when the phone is switched on and had no notification ?
-Jesco- said:
what does this change ? the light shown when the phone is switched on and had no notification ?
Click to expand...
Click to collapse
This would only change the default color of your Home button ( if only it is enabled), hitting any of your physical keys.
i changed all the values to 10000, all the colors are the same but a lot brighter, default 1000 is too dim for me.
@adulfo thanks for the tip buddy, can happily report that it is also working on my ray
Sent from my ST18i using xda premium
This values as depicted on the lines itself maybe clear, raising it, means raising LED current, more current more power,more power so much brighter... If you want color other than WHITE, don't make the values nearly equal.
Xtremy said:
also note:
I set the first byte for Red to zero
after reboot it went to 1000 value,
so I think 1000 is the lowest value.
Click to expand...
Click to collapse
Zero doesn't work, i try 0001, it works.
for RED color, the value is 10000,0001,0001.
Try again to see the values on your pre_hw_config.sh if it did not changed after reboot. Then all of your notifications will turn to RED.. By setting the lowest value to 1000, still the GB colors has still a good current value.
Flashable zip for Holo style Blue
Not made by me but jjdoctor...
had this zip tho
lokenok said:
Flashable zip for Holo style Blue
Not made by me but jjdoctor...
had this zip tho
Click to expand...
Click to collapse
I think this will make all of your notifications to LIGHT BLUE?.. Correct me if I'm wrong... Doing that also.. Better to put those values on pre_hw_config.sh..
adulfo said:
Try again to see the values on your pre_hw_config.sh if it did not changed after reboot. Then all of your notifications will turn to RED.. By setting the lowest value to 1000, still the GB colors has still a good current value.
Click to expand...
Click to collapse
so is there any value that change the LED to RED but not affect to other notification color???
luckkonku said:
so is there any value that change the LED to RED but not affect to other notification color???
Click to expand...
Click to collapse
Just don't put those values on hw_config.sh, only on pre_hw_config.sh I think....
hi guys this is my first comment so, i've changed these values in pre_hw_config.sh and of course i've got the color i want (nearly ICS blue). BUT here is my problem: other notifications like charging (instead of red it's nearly pink, instead of orange it's nearly green...) not working properly. I'm using light flow led and its notifications also miss the right color. Is there a solution for this? I'm not a developer but i think the phone calculates the values of notifications by this three values and must be an algorithm for this somewhere in the phone, so maybe we can manipulate that. Tell me if I'm wrong. Sorry for my english it's not my native language.
bobo023 said:
hi guys this is my first comment so, i've changed these values in pre_hw_config.sh and of course i've got the color i want (nearly ICS blue). BUT here is my problem: other notifications like charging (instead of red it's nearly pink, instead of orange it's nearly green...) not working properly. I'm using light flow led and its notifications also miss the right color. Is there a solution for this? I'm not a developer but i think the phone calculates the values of notifications by this three values and must be an algorithm for this somewhere in the phone, so maybe we can manipulate that. Tell me if I'm wrong. Sorry for my english it's not my native language.
Click to expand...
Click to collapse
Try to raise the values of the other color, I stated that on my OP last part that if you make the other values extremes (1000 and 20000), the the colors will be affected.. If for instance, Blue will have 20000 value, the notifications color that contains blue (violet...) will have dominant blue and other colors will be suppressed, so VIOLET will turn out to be more on BLUE.

[Q] Max_events_per_second

Hello!
Well I've reading the build.prop and find out that my current ROM has a value of 150. I can't remember where i read that the recommended value was 90 because above that we were not going to be able to note a difference.
I understood that that value was like a refreshing rate of the screen to detect touches.
Is that true? Or what does that option do? If i lower the number will i save battery or anything?
Note: I'm running Nottachtrix GB ( discontinued now )

Change Dpi

Hello
Can i change dpi stock 240. Someone have tested?
kvadde said:
Hello
Can i change dpi stock 240. Someone have tested?
Click to expand...
Click to collapse
A solid-state screen's DPI is a physical attribute, you cannot change it.
I believe OP is referring to the soft DPI settings in build.prop. You must root, then edit the ro.sf.lcd_density setting in build.prop. It's already 240 on CM, not sure about stock though.
Cat McGowan said:
A solid-state screen's DPI is a physical attribute, you cannot change it.
Click to expand...
Click to collapse
You are talking about PPI, not DPI
Stock DPI is also 240.
But why would you want to change that??
If some app is not displaying to your satisfaction, it's better not to modify build.prop, because it could lead to unexpected weird behaviors.
Better is to use the "Xposed Framework" with the module "App Settings"; there you can specify individual DPI settings for each app. The safer and more flexible solution! I use it without problems on all my devices.
Felimenta97 said:
You are talking about PPI, not DPI
Click to expand...
Click to collapse
You have it backwards.
kvadde said:
Hello
Can i change dpi stock 240. Someone have tested?
Click to expand...
Click to collapse
As you didn't specify whether you want this on stock firmware or an AOSP ROM, I'd suggest to try the PACman port to the XTZ, as it includes per-app DPI modifier. It's currently in nightlies and no fully stable release as of yet, but it's worth to try if you really need that feature.
DPI = Dots Per Inch
PPI = Pixels Per Inch
The reason we've started to use PPI instead of DPI is because of PenTile, since that technology yields more pixels than dots per inch (dots are shared between adjacent pixels). Both are properties of the hardware but by telling Android you have a different DPI you can scale the UI. This procedure will make graphical elements that makes use of their physical size on the display (rulers, printing tools, etc.) show up at incorrect sizes.
For example, if you have a virtual measurement tape, you'll need to multiply all values with the original DPI divided by the new DPI. So if you choose to change your tablets DPI to 120, making every UI element scale to half of the original size, you'd need to multiply every value by 240/120=2 for it to match up with the real world.
I hope this clears things up.
Shanliang- said:
As you didn't specify whether you want this on stock firmware or an AOSP ROM, I'd suggest to try the PACman port to the XTZ, as it includes per-app DPI modifier. It's currently in nightlies and no fully stable release as of yet, but it's worth to try if you really need that feature.
Click to expand...
Click to collapse
As I already said: No need to change firmware. Just install Xposed framework with App Settings module on rooted device, and you can freely modify DPI per app.

Categories

Resources