Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
merlinolillo
Old
#91  
merlinolillo's Avatar
Senior Member
Thanks Meter 22
Posts: 102
Join Date: Jun 2006
Location: Senigallia
Quote:
Originally Posted by B.Jay View Post
You may want to make this mantra yours ...
You're right. Sorry B.Jay
 
RohinZaraki
Old
#92  
RohinZaraki's Avatar
Recognized Contributor
Thanks Meter 3221
Posts: 5,188
Join Date: Sep 2011
Location: I'm NOT in Batu Pahat, Johor :D

 
DONATE TO ME
Quote:
Originally Posted by B.Jay View Post
Edit hw_config.sh in /system/etc and change the following lines...

echo 254 > $dev/br::limit
... to ...
echo 255 > $dev/br::limit

echo 4,16,64,250 > $dev/curve::borders
echo 50,50,50,50,50 > $dev/curve::targets
... to ...
echo 30,70,110,150 > $dev/curve::borders
echo 100,115,130,175,254 > $dev/curve::targets

echo 128 > $dev/als::avg-t
... to ...
echo 512 > $dev/als::avg-t

echo i2c_pwm_als > $dev/mode
... to ...
echo i2c > $dev/mode

That mirrors the GingerDX settings to ISDX.

Save the changed file and reboot.
Report back if you see any improvements.

EDIT: If you feel that the light sensor reacts too slow for your taste...

Revert echo 512 > $dev/als::avg-t back to echo 128 > $dev/als::avg-t

The value represents the sampling time of the light sensor in ms. The lower the value, the more often the light sensor gets sampled for changes, the higher the battery drain could be. I found 512 to be a reasonable value (in GDX). You've been warned, don't complain about sudden bat drain when running with 128ms.
Which values do I change if I want the brightness brighter than the values given above ?
My Devices and What They're Running
Sony Ericsson Xperia X8 │White│Unlocked Bootloader│GingerDX - 2.3.7│
HTC One X │Black│Unlocked Bootloader│Hard Bricked - 4.1.1│
Google Nexus 7│Black/White│Unlocked Bootloader│Official CM 10.1 - 4.2.2│

Quote:
Originally Posted by The Gingerbread Man View Post
Basing your experience on a kernel with how high bench mark score is as good as comparing how much fun you have in life with a 22" **** comapared to any other. Impressive number yes but also completely pointless. Such is the relation as to what you are implying.
I facepalmed so hard my inner hollow took over
B.Jay Old
(Last edited by B.Jay; 26th May 2012 at 07:38 PM.)
#93  
Guest
Thanks Meter
Posts: n/a
Quote:
Originally Posted by RohinZaraki View Post
Which values do I change if I want the brightness brighter than the values given above ?
curve::targets defines the brightness (of the display) within the border range (see below)
curve::borders defines the brightness range (ambient lighting brightness reported by the light sensor)

Read:
At an ambient lighting reading of 0-30 the display brightness is 100
At an ambient lighting reading of 31-70 the display brightness is 115
(...)
At an ambient lighting reading of 150+ the display brightness is 254

The thing I haven't worked out is how the "borders" translate into real-world lighting measured in i.e. Candela.

At any rate, curve::targets can't go any higher than 255 and not lower than 0.

Since there is no really helpful information available on the light sensor that would enable one to relate the digital reading to some real-word measurable value (Candela, Lumen, ...) it's a trial-and-error game to work out sane values.
The Following 2 Users Say Thank You to For This Useful Post: [ Click to Expand ]
 
vislavskid
Old
#94  
vislavskid's Avatar
Member
Thanks Meter 8
Posts: 95
Join Date: Jan 2012
Location: ruski krstur
Whit this setings autobrithnes working great
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2012-05-26-20-42-10.jpg
Views:	464
Size:	67.4 KB
ID:	1086430  
 
RohinZaraki
Old
#95  
RohinZaraki's Avatar
Recognized Contributor
Thanks Meter 3221
Posts: 5,188
Join Date: Sep 2011
Location: I'm NOT in Batu Pahat, Johor :D

 
DONATE TO ME
Quote:
Originally Posted by B.Jay View Post
curve::targets defines the brightness (of the display) within the border range (see below)
curve::borders defines the brightness range (ambient lighting brightness reported by the light sensor)

Read:
At an ambient lighting reading of 0-30 the display brightness is 100
At an ambient lighting reading of 31-70 the display brightness is 115
(...)
At an ambient lighting reading of 150+ the display brightness is 254

The thing I haven't worked out is how the "borders" translate into real-world lighting measured in i.e. Candela.

At any rate, curve::targets can't go any higher than 255 and not lower than 0.

Since there is no really helpful information available on the light sensor that would enable one to relate the digital reading to some real-word measurable value (Candela, Lumen, ...) it's a trial-and-error game to work out sane values.
So i just have to randomly change tje values and hope for the best if i want an experiment...got it

Sent from my E15i using Tapatalk
My Devices and What They're Running
Sony Ericsson Xperia X8 │White│Unlocked Bootloader│GingerDX - 2.3.7│
HTC One X │Black│Unlocked Bootloader│Hard Bricked - 4.1.1│
Google Nexus 7│Black/White│Unlocked Bootloader│Official CM 10.1 - 4.2.2│

Quote:
Originally Posted by The Gingerbread Man View Post
Basing your experience on a kernel with how high bench mark score is as good as comparing how much fun you have in life with a 22" **** comapared to any other. Impressive number yes but also completely pointless. Such is the relation as to what you are implying.
I facepalmed so hard my inner hollow took over
B.Jay Old
#96  
Guest
Thanks Meter
Posts: n/a
Quote:
Originally Posted by vislavskid View Post
Whit this setings autobrithnes working great
echo 255 > $dev/br::limit

echo 3,15,63,249 > $dev/curve::borders
echo 41,81,143,186,255 > $dev/curve::targets
The Following 2 Users Say Thank You to For This Useful Post: [ Click to Expand ]
 
Case87
Old
#97  
Case87's Avatar
Senior Member
Thanks Meter 14
Posts: 115
Join Date: Jan 2011
Location: Tomaszów Mazowiecki
If this rom will have hw video decoding/encoding i will headbang my room.wall from happiness :)

Wysyłane z mojego X8 za pomocą Tapatalk 2
...Excellence is not a skill. It is an attitude...
 
rly
Old
#98  
Member
Thanks Meter 4
Posts: 40
Join Date: Nov 2009
Location: Bandung
Quote:
Originally Posted by Case87 View Post
If this rom will have hw video decoding/encoding i will headbang my room.wall from happiness :)

Wysyłane z mojego X8 za pomocą Tapatalk 2
I believe someday the miracles will be happened as soon as our petition granted by Qualcomm

Cant wait to see your headbanging action lol

Sent from my X8 using XDA
 
nazz.rule
Old
#99  
Senior Member
Thanks Meter 187
Posts: 726
Join Date: Jan 2012
Location: I'm on a tree.
Can I use nAa-ics-03 kernel with this ROM..??
 

Xperia X8 (shakira) | Alfs v08a-CM7 kernel | GingerZaraki V10-FINAL
Nexus 7 32GB (tilapia) | ParanoidAndroid | Latest version of franco.Kernel


One of Team Zaraki members..
Sorry for my English..
Hope I Helped You..^_^
 
djnilse
Old
#100  
djnilse's Avatar
Senior Member
Thanks Meter 591
Posts: 176
Join Date: Aug 2011
Location: Frankfurt am Main

 
DONATE TO ME
Quote:
Originally Posted by nazz.rule View Post
Can I use nAa-ics-03 kernel with this ROM..??
yes, you can, since the v02 is working, v03 will also work
Check out my holostyled ConvertItAll app, if you want to be amazed
Check out my Youtube-Channel HERE





My X8 Story
Xperia S (OpenSEMC CM10.1 built from sources)
Xperia X8 black 'n white (rooted, my version of alfs-kernel , GingerDX v030)
Archos Gen9Turbo
Nexus 7(cm10.1)


Check out my Github here

The Following User Says Thank You to djnilse For This Useful Post: [ Click to Expand ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...