|FIX|Ultimate Brightness Fix | TEST | JB | PORT | 2 VERSION | - Galaxy Note II Android Development

Hi
I Port From SGS3 to NOTE II :
ULTIMATE BRIGHTNESS FIX FOR SGS III
2 Version !!
​
1-st Version
Ultimate Brightness Screen
Version 2
Best Save Batery Screen
FIX NOT COMPATYBILE WITH CM9,10,10.1,SAMMY ICS. ONLY JB ROM-S ​
TEST VERSION
please test!!!!
Beased on XXDMB6
Big thanks Nazeroth,
I ported From SGS II:
DOWNLOAD:
Real Brightness Screen_By Modified NOTE II
BestScreenSaver_By Modified NOTE II

Post UPDATED

What is there that needs to be fixed? We can adjust automatic brightness with that slider already so what should we want to be fixed?

lolmensch said:
What is there that needs to be fixed? We can adjust automatic brightness with that slider already so what should we want to be fixed?
Click to expand...
Click to collapse
This fix changes value automatic brightness . The display is easier to read in a large sun. At night, the display is darker. (in version Screen saver )

modified1994 said:
This fix changes value automatic brightness . The display is easier to read in a large sun. At night, the display is darker. (in version Screen saver )
Click to expand...
Click to collapse
Thank you for the explanation. Still don't really see the point. Is there really a noticeable difference between both max values? I mean we can influence the values for automatic brightness by turning automatic brightness on and then using the slider for increasing/decreasing brightness as mentioned above.

lolmensch said:
Thank you for the explanation. Still don't really see the point. Is there really a noticeable difference between both max values? I mean we can influence the values for automatic brightness by turning automatic brightness on and then using the slider for increasing/decreasing brightness as mentioned above.
Click to expand...
Click to collapse
yes, but normally is four levels of brightness. is modified by the eleven.
better adjust the brightness to the ambient light

I add Stock value flashable zip

what is the difference between the 2 versions?

Re: |FIX| Brightness Fix | TEST | JB | PORT | 2 VERSION |
Reserved..
Thanks for this fix..
I will add to my ROM Assassin..
Your name and donation link will be added to my OP.
Sent from my GT-N7100 using Tapatalk 2

Re: |FIX| Brightness Fix | TEST | JB | PORT | 2 VERSION |
Ya..wt is d diff btwn screen saver and real br8 ver??
Sent from my GT-N7100 using Tapatalk 2

Other management screen brightness

modified1994 said:
Other management screen brightness
Click to expand...
Click to collapse
exactly, that you recommend ?

I have flashed Best Screen Saver is ok

modified1994 said:
This fix changes value automatic brightness . The display is easier to read in a large sun. At night, the display is darker. (in version Screen saver )
Click to expand...
Click to collapse
the same as him

I tried it on EmotionMIUI 1.2 and after flashing the phone will not boot. I'm not complaining, it's just feed back
Sent from my GT-N7100 using xda premium

I would like try this fix.But which file flash? Ultimate brightnes/from Attached files/ or Real brightnes/from Download/? What's difference between those files?

Will this work with monxDIFIED rom ?

Tried them both but,I don't think ur mod works well with perseus kernel......
Note 2
Rom = Omega 15
([email protected] black,[email protected] pack)
Kernel = Perseus 35
(Cpu [email protected],Gpu [email protected])

Related

[2ROM][Sept. 17] |4.0.4+Sense 4.0-75%||4.0.3+Sense 4.0-100%|-FULLY WORKING

ROM1: If you need a ROM in English, in Chinese or in Both, this is your first Choice in this Forum to date. You will not have issue to install your ROM in English.
Multilanguage ROM based on ROM 1 from victoryo:
A new rom of 錄嗏 from hiapk.com : The best on 16 sept 2012. See #2.
Only for someone who like a ROM from traditional HTC. It is sure the ROM is not Nokia style.
See #6 for description of ROM (thanks to the translation).
MD5: 580B3C758A32C9AEA11CD0580AFD97B4
Download link :
How to get a code : see attached picture 3.
HOPE SOMEONE CAN MAKE A MIRROR.
2nd download link (Direct link, thanks to kolokol777):
(valid until tomorrow.so,mirror it anybody plz. )
(Thanks, 3rd link):
(4th link goes to
REALLY FULLY WORKING WITHOUT HEADSET FOR SOME FUNCTIONS.
(your attention for all parents : boot music is on)
Finally, you have a ROM for this Sunday. I cannot provide support. It is your own risk to flash the ROM. I only tested it on my DHD.
ROM2: If you need a ROM in English, in Chinese or in Both, this is your 2nd Choice. You will not have issue to install your ROM in English.
A NEW ROM (100% Sense 4.0 not 4A) WITH WIFI WORKING HOTSPOT (from outao1984):
Info about ROM (translation by Google)
Kernel upgrade to ZRZ-V12
- Memory increased to 595MB
- Fixed WIFI hotspot
- Repaired: location services can not open
- Fixed boot error problem
- Repaired: drop-down bar restart option is invalid
- Repaired : lock screen shortcut
- Fixed the the desktop several plug-in can not add questions
- Repaired: desktop plug-definition problem
- Repaired: recent application interface multiple resolution problem
- Request to add software installation location selection
- Advanced settings, transplanted from the G14 viper ROM add a number of features
On regulation ROISE:
- Smooth desktop
- Unlock animation
- Enable horizontal screen
- Desktop cycle rolling
- Program menu background switch
- Other
Adjustment on the status bar:
- Quickly set hidden and rearrangement
- Personalized status bar icon
- Adjust the transparency of the status bar
- Down bar background adjustment
- Recent program interface style switch
- Add disable the lock screen drop-down notification bar
Lock screen adjustment:
- AOSP lock screen style
- The new AOSP lock screen caller automatically unlock
- A variety of native lock screen custom content
Button adjustment:
- Add volume key up and down keys unlock switch
- Set new short press the search key features, optional off-screen, screen shots and other 12 kinds of action
- New growth set by the four kings built to select off-screen screenshot 12 actions
Other adjustment:
- New window effects animation options (including fly into Andrews 4.1, flip five)
- New low memory adjustment, can be adjusted for needs its own
- SMS lit screen select
- Custom-occupied navigation program selection
- New Sony quality switch
- New Sony sound quality switch
Some commonly used software upgrades and other details to modify their own experience.
After 12 hours of test:
The best ROM to date;
The first ROM with Android 4.0.4 and Sense 4.0;
Language : English and Chinese only.
Fully working;
Best DHD Camera in xda- with or without flash on - good;
Stable and smooth;
Excellent battery with Setcpu. (1% for 6 hours on sleeping time)
FM Radio - good;
GPS - good;
Beats - good;
Voip - so so.
Sent from my HTC Desire HD using Tapatalk 2
soleil10 said:
a new rom from hiapk.com
Sent from my HTC Desire HD using Tapatalk 2
Click to expand...
Click to collapse
Full Sense 4....?
What iş that?
Sent from my HTC Desire HD using xda premium
i'm browsing a lot on hiapk.com...
it's 4.0.4 and maybe sense 4A based on Desire V if i'm right
ROM Description:
Updated as follows: In the basis of T328W made​​, implantation of the latest dual 4-specific kernel 3.0.41, fix the camera not to force the raw end of the package, add Weather fullscreen (team drunk breeze provided)
Edition can be long-term use, if you play the machine found hidden BUG timely feedback to us and work together to perfect my DHD
1. Repair battery chip readability, increase the battery life
2 add a special sound configuration patch to increase the voice of the play and answer the phone, moderate maintain perfect sound quality under
Support full-screen animated weather boot animation adding another perspective
Targeted the system framework of a perfect correction to play machine by the smooth pursuit, stable
Further optimize every corner of the integrated system to wake up, once dead, to meet our needs
7. Joined calls attribution, call records, status bar, lock screen display,
Rebuild the kernel framework, program perfect run
Modify the script, freeing memory, adding search keys off-screen, simple operation coordination
10. Audience original magic sound for you to enjoy a variety of audio, from the times your ear is no longer lonely
11 completely finished, boot the default Chinese input
Known BUG:
The rom do low package T328W transplanted version supports 8-megapixel camera without flash nor Huaping, support continuous shooting (but not more than five) Continuous
2 by wire, continue tragedy is estimated to need some time
I personally think DHD are the same types of models, but the manufacturer to the hardware configuration is not the same, and so will be different in different models BUG
reserved
all is good ... but you need register before u can d/l and for that you have to fill in the capta which is in chinese and goolge could not translate tha captha pic.
Talebs said:
all is good ... but you need register before u can d/l and for that you have to fill in the capta which is in chinese and goolge could not translate tha captha pic.
Click to expand...
Click to collapse
+1
Are there any mirrors?
_-Running Cold
the best *perfact* rom so far. need chinese user to make a mirror...
editing...
Sent from my HTC Desire HD using Tapatalk 2
soleil10 said:
a new rom from hiapk.com
Sent from my HTC Desire HD using Tapatalk 2
Click to expand...
Click to collapse
Another new rom is coming
Yay!
Updated the #1.
2 icons in status bar are concerning Battery and Virus protection (in Chinese, you don't need to change them).
Full sense 4.0?
Sent from my Desire HD using xda premium
elfrosto said:
Full Sense 4....?
Click to expand...
Click to collapse
hdorius said:
i'm browsing a lot on hiapk.com...
it's 4.0.4 and maybe sense 4A based on Desire V if i'm right
Click to expand...
Click to collapse
See the 2nd picture in #1.
Muikkuman said:
Full sense 4.0?
Sent from my Desire HD using xda premium
Click to expand...
Click to collapse
I see in the 2nd picture in #1 : HTC Sense version : 4.0.
soleil10 said:
See the 2nd picture in #1.
Click to expand...
Click to collapse
It's hard to know whether it's full sense 4 or 4A just look at the pics
So far its pretty slow downloading, I'm still at 2%.
Sent from my Inspire 4G using xda app-developers app
PeteSeiler2010 said:
So far its pretty slow downloading, I'm still at 2%.
Sent from my Inspire 4G using xda app-developers app
Click to expand...
Click to collapse
You may need 30 minutes to download. I found the download is VERY stable.
hdorius said:
It's hard to know whether it's full sense 4 or 4A just look at the pics
Click to expand...
Click to collapse
Can you report it after yr try?
info:
Recent apps layout : Sense 4.0A?
personalization of the lockscreen (contacts, weather and so on): Sense 4.0?
weather with effects: Sense 4.0?
homescreen with the cube effect : Sense 4.0?
homescreen with 7 pages : Sense 4.0?
Ok, its Sunday and I'm just kicking back. I'll be patient and report back.
Sent from my Inspire 4G using xda app-developers app

[APP][2.2+]Yet Another Auto Brightness

Yet Another Auto Brightness (YAAB)
A small open source application designed to enhance user control over screen brightness. Initially it was developed to make the screen as dim as possible to save battery on old devices. AND to provide a simplest possible user interface without any complicated calibration procedures and so on.
It is Beta version now. It has ascetic interface and very simple in use.
Source code, issue tracker and latest APKs are available here: http://bitbucket.org/gyrussolutions/yaab/
Google Play link: https://play.google.com/store/apps/details?id=biz.gyrus.yaab
Any feedback is highly appreciated, especially from other Android developers
Tester initial impressions
A nice small download and a simple and clean interface. Started service and it immediately started dimming my brightness. A few points to begin with:
The manual slider does not seem to work as there was no change in the brightness.
It doesn't seem to alter the brightness in different lighting (unsure if it is supposed to do this or not from documentation).
It is making my screen too dim, I have a GT-I9300 and the auto brightness on it is excellent and always keeps my screen at the good readable and useable settings.
Will run for an hour or so now and update this with further thoughts then.
---------- Post added at 05:13 PM ---------- Previous post was at 05:06 PM ----------
Ok it's keeping my screen to dim to be usable so have had to uninstall for now. A few further points though:
Application Force Closes when you stop the serverce.
The manual slider does not work.
Handset - GT-I9300
ROM - Paranoid Android 2.51
OK log wouldn't upload, here's a link for it on dropbox.
https://www.dropbox.com/s/mbyfz33b7audtxz/2012-11-02-17-10-36.txt
Good report, thanks a lot.
Looks like the app incorrectly reads light sensor data on your device and thus brings brightness to minimum.
I'm working on the issue now.
andrvo said:
Good report, thanks a lot.
Looks like the app incorrectly reads light sensor data on your device and thus brings brightness to minimum.
I'm working on the issue now.
Click to expand...
Click to collapse
Let me know when you have a new version and will test again for you.
Hi!
IIIIkoolaidIIII said:
Let me know when you have a new version and will test again for you.
Click to expand...
Click to collapse
I did some research tonight and found out that many people have concerns about light sensor behaviour in your ROM.
I wrote a very simple app that shows sensor parameters on the screen and displays all subsequent updates received from the sensor.
APK is here: https://bitbucket.org/gyrussolutions/lightreader/downloads (sources are available there also)
It doesn't require changing settings and it will not attempt to change screen parameters also. Minimal discomfort
Could you please run it on your device and post here its output in a dark room and under strong light?
Thanks.
andrvo said:
Hi!
I did some research tonight and found out that many people have concerns about light sensor behaviour in your ROM.
I wrote a very simple app that shows sensor parameters on the screen and displays all subsequent updates received from the sensor.
APK is here: https://bitbucket.org/gyrussolutions/lightreader/downloads (sources are available there also)
It doesn't require changing settings and it will not attempt to change screen parameters also. Minimal discomfort
Could you please run it on your device and post here its output in a dark room and under strong light?
Thanks.
Click to expand...
Click to collapse
Details bellow, Sensor name - CM36651 Light sensor
Darkened Room:
Accuracy 3, MAX 121240, last 0.0
Bright light:
Accuracy 3, MAX 121240, last 3700.0 (fluctuating around this point)
I've not read much in relation to sensor issues on this ROM, will do some digging myself now. Hope this information is useful to you.
B
---------- Post added at 11:05 AM ---------- Previous post was at 10:48 AM ----------
I have just done some digging and found no Liight sensor issues mention in the CM10 threads or known bug list. There was a light sensor issues back in September for Paranoid Android but this was fixed back then. Where have you seen the information about peoples concerns with the light sensor?
I have attached a link to the CM10 known issues bellow.
http://teamhacksung.org/wiki/index.php/CyanogenMod10:GT-I9300:Nightly:Known_issues
I saw several mentiones of light sensor problems here on the forum, like this: http://forum.xda-developers.com/showpost.php?p=31801837&postcount=2862 or this http://forum.xda-developers.com/showpost.php?p=31801837&postcount=2862
Some other mentiones on other forums/blogs.
But anyway your readings are very good, so the sensor isn't a culprit any longer.
I just had to make sure that the app has valid input data and the problem is somewhere in the algorythms. Because in the log file you submitted yesterday contains very strange values.
Thanks again. I'm going on with my investigation.
andrvo said:
I saw several mentiones of light sensor problems here on the forum, like this: http://forum.xda-developers.com/showpost.php?p=31801837&postcount=2862 or this http://forum.xda-developers.com/showpost.php?p=31801837&postcount=2862
Some other mentiones on other forums/blogs.
But anyway your readings are very good, so the sensor isn't a culprit any longer.
I just had to make sure that the app has valid input data and the problem is somewhere in the algorythms. Because in the log file you submitted yesterday contains very strange values.
Thanks again. I'm going on with my investigation.
Click to expand...
Click to collapse
Yeah those were two months ago and the bug was fixed in a few days, there have been about 10 version updates since then as well.
Let me know when you're new version is available and will test again.
B
Maybe you should restrict app installation to devices that have a light sensor? Because Google Play allows me to install it even tho I don't have one.
HTC Wildfire S (Marvel)
Works as intended on HTC Wildfire S (Marvel) 510e.
Brightness is applied 1/2 secconds after screen is on and with correct levels acording to the external light and manual adjusment seting.
I like the simplicity (pls don't change that) and, so far, I didn't noticed any bad impact on battery life.
I'm curently on custom SENSE 2.1 rom but I switch often so will test this one on them too.
Tnx,
GermainZ said:
Maybe you should restrict app installation to devices that have a light sensor? Because Google Play allows me to install it even tho I don't have one.
Click to expand...
Click to collapse
Will be done, thanks. I don't know how could I have missed that
kobredabre said:
Works as intended on HTC Wildfire S (Marvel) 510e.
Brightness is applied 1/2 secconds after screen is on and with correct levels acording to the external light and manual adjusment seting.
I like the simplicity (pls don't change that) and, so far, I didn't noticed any bad impact on battery life.
Click to expand...
Click to collapse
Thanks for the update.
We are working on automatic/manual "night reading" mode and manual range adjustments now, but we intend to keep the main screen and the defaults in this way, so most of the users would not even need to open menus and dig deeper into the settings.
IIIIkoolaidIIII said:
Let me know when you're new version is available and will test again.
Click to expand...
Click to collapse
I've uploaded current version to the downloads section: https://bitbucket.org/gyrussolutions/yaab/downloads
Check this one please when you have time.
To be honest I still don't know why did it set brightness to minimum on your phone and didn't ever rise it again.
But your log revealed a number of thread synchronization issues that I fixed in this version. I believe there could be connection between these issues and your dark screen.
UI is a bit different, it is my current development version. But start/stop buttons still do the same.
Don't wait long, 10-15 seconds is enough, if it doesn't track ambient light changes right from the beginning - it will not start after some minutes.
Thanks.
Hi andrvo,
Yaab works on my Nexus 7. It is also very easy to use. But I have two remarks.
First the app starts in portrait and I only use me tablet in horizontal view. The app not only starts in portrait, it does also not change to horizontal. This would be nice, if the app would start with mentioning the position.
The other point is, that it only needs one more option in my case. There is automatic and manual brightness. If I can use the manual slider in the automatic mode to set a basic brightness, this would be handy. Hope you know what I mean.
Thanks for your work. Would be nice to find Yaab on Google Play to get updates automatically.
Thanks, checking it out...
benkxda said:
First the app starts in portrait and I only use me tablet in horizontal view. The app not only starts in portrait, it does also not change to horizontal. This would be nice, if the app would start with mentioning the position.
Click to expand...
Click to collapse
Yes, it is my fault. I didn't have enough time to test those layouts on tablets.
I plan creating layouts for tablets from scatch since existing were designed mostly for phones.
benkxda said:
The other point is, that it only needs one more option in my case. There is automatic and manual brightness. If I can use the manual slider in the automatic mode to set a basic brightness, this would be handy. Hope you know what I mean.
Click to expand...
Click to collapse
Well, it works almost as you describe. "Manual adjustment" actually set the base line for the automatic brightness formula.
I'm preparing new release right now, will be available today or tomorrow. New version also allows to limit top and bottom values of brightness, maybe it will fit your need
benkxda said:
Thanks for your work. Would be nice to find Yaab on Google Play to get updates automatically.
Click to expand...
Click to collapse
It is here: https://play.google.com/store/apps/details?id=biz.gyrus.yaab
Test it on Galaxy Note 2
Everything looks working. Closing the sensor with my hand causing the screen light dim.
Not sure what idea I can give though, probably you can check 'smart stay' feature at Samsung S3/Note 2. Although it's not a screen auto-brightness thing but it have same objective about saving battery from screen consumption.
andrvo said:
Yes, it is my fault. I didn't have enough time to test those layouts on tablets.
I plan creating layouts for tablets from scatch since existing were designed mostly for phones.
Well, it works almost as you describe. "Manual adjustment" actually set the base line for the automatic brightness formula.
I'm preparing new release right now, will be available today or tomorrow. New version also allows to limit top and bottom values of brightness, maybe it will fit your need
It is here: https://play.google.com/store/apps/details?id=biz.gyrus.yaab
Click to expand...
Click to collapse
That new release I get then via Play, thanks for that. Delighted me.
jimmod said:
Test it on Galaxy Note 2
Not sure what idea I can give though, probably you can check 'smart stay' feature at Samsung S3/Note 2. Although it's not a screen auto-brightness thing but it have same objective about saving battery from screen consumption.
Click to expand...
Click to collapse
Ok, I'll check it, thanks.
Version 1.6 is rolling out to the Play store.
What's new:
night mode, manual and automatic. The latter will work only on new devices with high quality sensors which are able to provide accurate values in the lower part of the range. Manual works on any device.
range controls added. Now it is possible to shrink the actual range of automatic brightness values.
bugfix (of course)
Beta testing is still going on, all testers are welcome.
Fresh APK is also available here: https://bitbucket.org/gyrussolutions/yaab/downloads

Guide "Lockscreen Effects" In S4 LolliPop Updated 2/9/2015

First download SQLite Editor
Head to apps..
Choose Settings storage/settings.db
Choose System and search for lockscreen
Then simply enter the values as shown in ScreenShot
Save and Restart
Thanks to KNTXTremE for new effects
For More Effect change the Value of "lockscreen_ripple_effect" to any of the following
1 - Ripple Effect
2 - Light Effect
3 - Participle Effect
4 - Watercolor Effect
5 - DO NOT TYPE
6 - Look like clock when unlock
7 - Stone Skipping Effect
8 - DO NOT TYPE
9 - Look like Crystal Lock on LG
10 - Ink Effect
11 - Abstract Tile Effect
12 - Similar to value 9 but very lag (Note Recommend)
Other value will get Default Lockscreen Effect.
Do not change lockscreen effect after setting the values.. otherwise you will have to enter values again
Enjoy..
Is it possible abstract tiles to add effect
Is it possible ink effect to add ?
de55li said:
Is it possible abstract tiles to add effect
Click to expand...
Click to collapse
[email protected] said:
Is it possible ink effect to add ?
Click to expand...
Click to collapse
will see to it..
On the galaxy S5 ive successfully got till 12 with the abstract tile try it out and it might work for you guys also
Sock12345 said:
On the galaxy S5 ive successfully got till 12 with the abstract tile try it out and it might work for you guys also
Click to expand...
Click to collapse
On S5 Did You Get The Mosaic Effect Work !?
Aamirx27 said:
First download SQLite Editor
Head to apps..
Choose Settings storage/settings.db
Choose System and search for lockscreen
Then simply enter the values as shown in ScreenShot
Save and Restart
Do not change lockscreen effect after setting the values.. otherwise you will have to enter values again
Enjoy..
Click to expand...
Click to collapse
Nice to see someone from Srinagar. Great job mate. It is prolly included on AURORA LP. What base are you on?
It 's ok. Not black screen look like S4 4.4.2
khaledronaldo7 said:
On S5 Did You Get The Mosaic Effect Work !?
Click to expand...
Click to collapse
Yeah, with the lollipop update it works fine using this method, used this method some weeks ago know it from the v4.4.2 update
Sorry for the offtopic but can you share your wallpaper?
muftiazan said:
Nice to see someone from Srinagar. Great job mate. It is prolly included on AURORA LP. What base are you on?
Click to expand...
Click to collapse
Salam bro..
Stock Lolipop Barebone by AL_IRAQI.. with my own customisation..
GTX90 said:
Sorry for the offtopic but can you share your wallpaper?
Click to expand...
Click to collapse
Its included in theme bro.. In Barebone
Sock12345 said:
On the galaxy S5 ive successfully got till 12 with the abstract tile try it out and it might work for you guys also
Click to expand...
Click to collapse
It works!!! For anyone who want the abstract tile effect, Change the lockscreen_ripple_effect to 11
lockscreen_ripple_effect value
1 - Ripple Effect
2 - Light Effect
3 - Participle Effect
4 - Watercolor Effect
5 - DO NOT TYPE
6 - Look like clock when unlock
7 - Stone Skipping Effect
8 - DO NOT TYPE
9 - Look like Crystal Lock on LG
10 - Ink Effect
11 - Abstract Tile Effect
12 - Similar to value 9 but very lag (Note Recommend)
Other value will get Default Lockscreen Effect.
Worked like a charm, Thanks !!:victory:
note 3
Can it work with the note 3 running lollipop ?
Bassem Magdi said:
Can it work with the note 3 running lollipop ?
Click to expand...
Click to collapse
yes
Is this working with 4.4.2?
Aamirx27 said:
First download SQLite Editor
Head to apps..
Choose Settings storage/settings.db
Choose System and search for lockscreen
Then simply enter the values as shown in ScreenShot
Save and Restart
Thanks to KNTXTremE for new effects
For More Effect change the Value of "lockscreen_ripple_effect" to any of the following
1 - Ripple Effect
2 - Light Effect
3 - Participle Effect
4 - Watercolor Effect
5 - DO NOT TYPE
6 - Look like clock when unlock
7 - Stone Skipping Effect
8 - DO NOT TYPE
9 - Look like Crystal Lock on LG
10 - Ink Effect
11 - Abstract Tile Effect
12 - Similar to value 9 but very lag (Note Recommend)
Other value will get Default Lockscreen Effect.
Do not change lockscreen effect after setting the values.. otherwise you will have to enter values again
Enjoy..
Click to expand...
Click to collapse
Is this only for rooted phone?
how can added the sound effect for these lock screens ?

[DEV][PATCH] KCAL - Advanced color control for Qualcomm MDSS 8x10/8x26/8974/8084/8939

Hello! If you're keen on custom kernels, especially for Nexus devices, you've probably heard the term Color/Gamma Control thrown around a bit. A once *very* device dependent feature now made available for the following chipsets:
8x10
8974 v1.0
8x26 v1.0
8x26 v2.0, 8926 v1.0
8926 v2.0
8974 v2.0
8974 v3.0 (Pro)
8084 v1.0
8084 v1.1
8994 v1.0
8916 v1.0
8939 v1.0
8092 v1.0
Click to expand...
Click to collapse
Color calibration allows you to use an app (or root shell) to manipulate the following post-processing features of the Qualcomm MDSS:
RGB Multipliers (Polynomial Color Correction)
Display Color Inversion (Inverse Gamma Correction)
Hue/Saturation/Value/Contrast Manipulation (Picture Adjustment)
Click to expand...
Click to collapse
Too confusing? Here's a video demonstration by @Andromjb:
Sysfs paths/variables:
/sys/devices/platform/kcal_ctrl.0/kcal - (0-256 0-256 0-256) - Controls R/G/B Multipliers
/sys/devices/platform/kcal_ctrl.0/kcal_min - (0-256) - Controls minimum RGB Multiplier value
/sys/devices/platform/kcal_ctrl.0/kcal_enable - (0-1) - Enables/Disables RGB Multiplier Control
/sys/devices/platform/kcal_ctrl.0/kcal_invert - (0-1) - Enables/Disables Display Inversion Mode
/sys/devices/platform/kcal_ctrl.0/kcal_sat - (224-383 or 128) - Controls saturation intensity - use 128 for grayscale mode
/sys/devices/platform/kcal_ctrl.0/kcal_hue - (0-1536) - Controls display hue - may have issues with msm8x26 in the higher values
/sys/devices/platform/kcal_ctrl.0/kcal_val - (128-383) - Controls display value
/sys/devices/platform/kcal_ctrl.0/kcal_cont - (128-383) - Controls display contrast
Click to expand...
Click to collapse
Link your favorite kernel developer back to this thread and ask them to add support!
KCAL for MDP5
https://github.com/savoca/kcal/commits/mdp5
KCAL for MDP3 (Only supports RGB multipliers):
https://github.com/savoca/kcal/commits/mdp3
And finally, an app to control your display - available for free here:
http://downloads.codefi.re/savoca/kcal
Thank you to LG for the display inversion control and code reference, also thank you to @faux123 for insight/reference with MDP3 RGB multipliers and @eng.stk for testing on APQ8084
Deleted
Great work @savoca
How to check MDSS_MDP_HW_REV? Any idea which is for Hammerhead and Shamu?
great
It is will works on lollipop branch?
Looks great to me. I'll give it a whirl on Shamu. Thanks!
Sweet. I'll try it on HTC m8 and Nexus 6 this week.
msm8960?
any support for first gen krait?
On Shamu I can't get anything to work besides the usual RGB and inverted.
Works great on bacon thank you
franciscofranco said:
On Shamu I can't get anything to work besides the usual RGB and inverted.
Click to expand...
Click to collapse
flar2 said:
Sweet. I'll try it on HTC m8 and Nexus 6 this week.
Click to expand...
Click to collapse
Sat/Hue/Val/Cont use the picture adjustment feature, and on APQ8084 and beyond it's been moved to a 2nd version of Qcom's picture adjustment. I don't have any of those devices so I didn't attempt to add support - but here's a blind patch you can try to add support or use for reference:
https://github.com/savoca/kernel-msm/commit/7dbc9ba0fd18279cde564c1631e52b448b39fc98
(This patch is assuming the scaling for PA v2 is the same as v1, it's very possible that has changed - but again, no device in hand, not much I can find out)
neobuddy89 said:
Great work @savoca
How to check MDSS_MDP_HW_REV? Any idea which is for Hammerhead and Shamu?
Click to expand...
Click to collapse
First code block in the OP has a reference list. :good:
I'll try to add it on my G2 kernel, let's see how good is this...
+1 savoca :good:
Looks like for newer Qualcomms, good work! Unfortunately my device is back on APQ8064T, but always nice to see innovation for all devices!
Well i have a Redmi 1S with a Qualcomm Snapdragon 400 chipset , i know this might be stupid to ask but will it work ??
@savoca I merged your patches on shamu, at least RGB, invert and so on work echo values.
Can't test your app, it crashes when opening...
djvita said:
any support for first gen krait?
Click to expand...
Click to collapse
Anything released before msm8974 doesn't use MDSS display driver and can't be supported.
eng.stk said:
@savoca I merged your patches on shamu, at least RGB, invert and so on work echo values.
Can't test your app, it crashes when opening...
Click to expand...
Click to collapse
Check this post for info on HW_REV_103 (APQ8084) - you can test the patch there.
As for the app, never happened to me - I'd gladly accept a log.
savoca said:
Check this post for info on HW_REV_103 (APQ8084) - you can test the patch there.
As for the app, never happened to me - I'd gladly accept a log.
Click to expand...
Click to collapse
Sorry mate I added a log but was on .log and now I put .txt so xda upload doesn't derp it
I added the said patch also, but would like to test with the app.
eng.stk said:
Sorry mate I added a log but was on .log and now I put .txt so xda upload doesn't derp it
I added the said patch also, but would like to test with the app.
Click to expand...
Click to collapse
Are you using a ROM with support for RGB calibration? If so the selinux/contexts it may hold with the kcal sysfs path could prevent the app from using them. You can either pull all references to kcal out of the ramdisk, or use a root shell for now.
I'd also like to hear your results on pa_v2 control with N6.
@savoca
Tested. Works great.
One thing.. on click on "Restore" ... Gamma value for RED autosets to 86 instead of 256.

[APP][OPEN SOURCE][ROOT][5.0+] Night Light (KCAL)

Night light is an open-source app which uses KCAL to adjust blue light intensity of the display colors, so that viewing the screen at dark becomes pleasant for the eyes, and help you fall asleep faster (this is what science have proven so...).
Features
Easy to use user interface. Settings are easier to find.
Uses KCAL to adjust screen RGB colors, hence its efficient and changes are seen everywhere on screen.
Supports older KCAL implementations as well as newer KCAL implementation for v4.4 kernels.
Simple color controls for normal users through color temperature control.
Manual KCAL controls for advanced users.
Automation routines lets you define routines where you specify Night Light settings which you wish to apply, and they will be automatically applied for you in specified times.
Intensity fading in/out is supported as part of automation routines.
Supports sunset/sunrise timings.
Set on boot delay.
Original KCAL settings of user is backed up and applied when night light is turned off. And it can be configured as well.
Support for user profiles, which are collections of settings that user can apply with one click.
And to fulfill your all kinds of automation needs, app is supported as a Tasker plugin. You can use it with Profiles.
Option to automatically disable Night Light in lock screen, and turn it back on after the device is unlocked.
Quick Setting tile for easy toggling on/off night light anywhere.
Launcher icon shortcut for toggling Night Light on/off and toggling intensities.
Dark and Light theme.
Advantages
No overlays.
Background service is only used for lock screen option. The entire automation (including the fading) is done using neat AlarmManager tricks (which not only is battery friendly, but memory friendly as well).
Requirements
Kernel supporting KCAL.
Root access.
Download
Source - https://github.com/corphish/NightLight
Wow. Thanks for this awesome app. This is my best daily night light app.
Thanks
sounds good
let me have a try brother......
corphish said:
Night light is an open-source app which uses KCAL to adjust blue light intensity of the display colors, so that viewing the screen at dark becomes pleasant for the eyes, and help you fall asleep faster (this is what science have proven so...).
Features
Easy one touch toggles, with a single slider to tweak blue light intensity.
Quick Setting tile for easy toggling on/off night light anywhere.
Automatic switching on/off night light at user specifed timings. (Limitation - Start time must be lesser in value than ending time, that is if you choose starting time at 2300 hrs and ending time at 0600 hrs (next day) it won't work for now).
Requirements
Kernel supporting KCAL.
Root access.
Download
Source - https://github.com/corphish/NightLight
Click to expand...
Click to collapse
The automatic switch doesn't seem to be reliable. Could you add intents so it can be toggled with Tasker? I already have a profile that triggers at sunset so that would be perfect.
Sent from my Nexus 5X using XDA Labs
Great app, thanks. Have been using CF.lumen until now, but that seems unsupported (and is closed source).
Please keep improving it. Would also like to donate a beer.
Can you explain whats this KCAL thing ??? ??
thanks for this app apreciate it i got ADD and Slightly Autism and i already have an issue sleeping my brain get supercharged and i can't get to sleep but this app helps [email protected]
Loving the app so far, however, I notice it won't trigger at the time I have set unless I manually open the app. I've removed it from Android's battery optimization so I don't think that can be it. Any ideas?
rickysidhu_ said:
Loving the app so far, however, I notice it won't trigger at the time I have set unless I manually open the app. I've removed it from Android's battery optimization so I don't think that can be it. Any ideas?
Click to expand...
Click to collapse
Same here. I forgot to report it. I use Tasker to launch it at sunset & sunrise along with switching between dark / light app themes.
Sent from my Nexus 6P using XDA Labs
yochananmarqos said:
Same here. I forgot to report it. I use Tasker to launch it at sunset & sunrise along with switching between dark / light apo themes.
Click to expand...
Click to collapse
I ended up doing this as well! Now the other thing I'm hoping gets implemented is a smooth transition to the orange hue.
zaibansari20 said:
Can you explain whats this KCAL thing ??? [emoji848][emoji848]
Click to expand...
Click to collapse
Kcal is a kernel tweak that lets you customize colors at lower (kernel) level, so there won't be any filter or layer on screen, but in most stock kernels it isn't available, so you have to find a custom kernel for your phone/rom that has it.
Thanks for the app, but I've used tasker with the command "echo 180 75 35> /sys/devices/platform/kcal_ctrl.0/kcal" for a long time (echo 256 256 256 > /sys/devices/platform/kcal_ctrl.0/kcal to get the color back.)
Obviously you can change the values to whatever you want.
But the app will be much more easy for many people
Envoyé de mon ONEPLUS A5000 en utilisant Tapatalk
J0kker said:
Kcal is a kernel tweak that lets you customize colors at lower (kernel) level, so there won't be any filter or layer on screen, but in most stock kernels it isn't available, so you have to find a custom kernel for your phone/rom that has it.
Click to expand...
Click to collapse
I'm using LineageOS with a custom kernel which allows mein to change RGB values from any kernel modification app...
Sent from my LG G2 using XDA Labs
zaibansari20 said:
I'm using LineageOS with a custom kernel which allows mein to change RGB values from any kernel modification app...
Click to expand...
Click to collapse
So it should work for you, you can try with a kernel manager like kernel adiutor but the app should work.
J0kker said:
Kcal is a kernel tweak that lets you customize colors at lower (kernel) level, so there won't be any filter or layer on screen, but in most stock kernels it isn't available, so you have to find a custom kernel for your phone/rom that has it.
Thanks for the app, but I've used tasker with the command "echo 180 75 35> /sys/devices/platform/kcal_ctrl.0/kcal" for a long time (echo 256 256 256 > /sys/devices/platform/kcal_ctrl.0/kcal to get the color back.)
Obviously you can change the values to whatever you want.
But the app will be much more easy for many people
Envoyé de mon ONEPLUS A5000 en utilisant Tapatalk
Click to expand...
Click to collapse
I tried the Tasker method and it works great. I had no idea that command existed and could be used in Tasker. Thank you for sharing! :good: :highfive:
rickysidhu_ said:
Loving the app so far, however, I notice it won't trigger at the time I have set unless I manually open the app. I've removed it from Android's battery optimization so I don't think that can be it. Any ideas?
Click to expand...
Click to collapse
Does it fail to trigger if a reboot had happened sometime before the time it should have triggered?
For example, if it was to trigger at 5pm, but a device reboot happened in, say, 3pm, then does it fail to trigger at 5pm?
Anyway, set on boot is broken (again), will need to fix it, but normal timers should work fine.
corphish said:
Does it fail to trigger if a reboot had happened sometime before the time it should have triggered?
For example, if it was to trigger at 5pm, but a device reboot happened in, say, 3pm, then does it fail to trigger at 5pm?
Anyway, set on boot is broken (again), will need to fix it, but normal timers should work fine.
Click to expand...
Click to collapse
Ahh, that might be it. I think it stops working after a reboot, so I'd be going back into the app to get it going again.
Very minor issue though, great app - thank you for your hard work!!:highfive:
corphish said:
Does it fail to trigger if a reboot had happened sometime before the time it should have triggered?
For example, if it was to trigger at 5pm, but a device reboot happened in, say, 3pm, then does it fail to trigger at 5pm?
Anyway, set on boot is broken (again), will need to fix it, but normal timers should work fine.
Click to expand...
Click to collapse
Launcher shortcut (toggle on/off) switch is also seems somewhat broken, it toggle on but fails to toggle off.
@jineshpatel30 @rickysidhu_
Here is an experimental version (in the attachment of this reply), with launcher shortcut toggle and set on boot fixed.
The reason why it is experimental :
- Now written in kotlin
- Uses some of the new stuff announced in I/O 18, like ktx and the new material design style
- Uses different font called 'Acme'. (Feel free to suggest fonts)
- I decided to ditch cards because normal layouts look better in this new style.
Source - https://github.com/corphish/NightLight/tree/p
corphish said:
@[email protected]_
Here is an experimental version (in the attachment of this reply), with launcher shortcut toggle and set on boot fixed.
The reason why it is experimental :
- Now written in kotlin
- Uses some of the new stuff announced in I/O 18, like ktx and the new material design style
- Uses different font called 'Acme'. (Feel free to suggest fonts)
- I decided to ditch cards because normal layouts look better in this new style.
Source - https://github.com/corphish/NightLight/tree/p
Click to expand...
Click to collapse
It kicked in automagically at sunset tonight which reminded me to come back and comment. That was unreliable previously.
What does the save button do at the bottom? I assume it saves something, but there's no toast message to acknowledge it's been pressed.
I don't like the font, myself. Since you're going for new and fancy code and styling, why not use ProductSans? I like the new font used in the Wear OS app, I think that's it.
Could you add the numerical values for the sliders for more accurate fine tuning? I like the way the new XDA Navigation Gestures app does it. It's in the latest beta posted in the thread and should be pushed to the Play Store soon.
Since CF.lumen is EOL now, this app is going to be a great alternative especially when it eventually breaks.
Thank you!
Sent from my Nexus 6P using XDA Labs

Categories

Resources