LED fix on AEX ROM [AOSP Extended] [ROOT] - Lenovo P2 Themes, Apps, and Mods

Here's an updated and simplified thread on installation and configuration for LED.
Video Tutorial https://youtu.be/3rREUOK52sQ
• Disable ROM LED Notifications. Go to Settings > Notifications. Tap on the cog on the top right corner and go to
-Battery Charging Light > Disable
-Notifications Light > Disable
• Install Light Flow Lite.
https://play.google.com/store/apps/details?id=com.rageconsulting.android.lightflowlite&hl=fr
• Go to Settings > Device & Root > activate "Direct Mode" & "Root Mode".
• Again go to Settings > LED Control > scroll down and activate "RGB Control".
• Now go to Notification Settings and choose the app you wish to add LED to, open menu (3 dots menu) and go to settings.
• Once there swipe left 2 times to get to "Light".
• Make sure that the first box "Enable Light" is on.
• Scroll down until you see RGB LED & RGB Brightness boxes respectively.
• In RGB LED choose "solid" or "flash" whichever you prefer.
• In RGB Brightness set the color value (table below).
• Test it by pressing "TEST" button on top right corner.
RGB Colors Lenovo P2:
Yellow = 256256256
Pale Blue = 255255255
Marine Blue = 255
Green = 255255
Purple = 128128128
White = 256128128
Red = 128256256
Pink = 128256128
Huge shout out to @xewonder for being the first to make a tutorial. This wouldn't be possible without you.
Original thread:
https://forum.xda-developers.com/lenovo-p2/themes/lenovo-p2-rooted-custom-led-t3589859/

Thanks for the tut, but it didnt work
i am on RR 7.1.2 rom ( by default Blue led was working) but even after doing all these.. the LED didnt showup with new colour .. its just BLANK ..
i doubted the free app, and purchased it..
same result with purchased app too ..
it didnt work

nandakis4 said:
Thanks for the tut, but it didnt work
i am on RR 7.1.2 rom ( by default Blue led was working) but even after doing all these.. the LED didnt showup with new colour .. its just BLANK ..
i doubted the free app, and purchased it..
same result with purchased app too ..
it didnt work
Click to expand...
Click to collapse
Sorry to hear that, i'm on AOSP extended ROM (AEX) 7.1.2
As per your info i'll update the title of thread.
Have your tried the old method that's posted at the end? Might be worth a shot.

Milan-XDA said:
Sorry to hear that, i'm on AOSP extended ROM (AEX) 7.1.2
As per your info i'll update the title of thread.
Have your tried the old method that's posted at the end? Might be worth a shot.
Click to expand...
Click to collapse
Thanks for replying .. I saw the old method too ..
There was only one step extra : to disable led on phone ..
I have tried that too ,no luck ..
Restored someone's working settings backup.txt ..but it didn't work ..
I guess it's wrong with rr ROM ..

It works on AEX! Thanks for the fix @Milan-XDA
I did some more changes (underlined) and works 100% by using Light Flow Legacy :Led Control!
• Disable Battery Charging Light + Notifications Light from the settings!
• Install Light Flow Legacy :Led Control.
https://play.google.com/store/apps/details?id=com.rageconsulting.android.lightflowlegacy&hl=en
• Go to Settings > Device & Root > activate "Direct Mode" & "Root Mode".
> Again go to Settings > LED Control > scroll down and activate "RGB Control" + Activate "wled control"
• Now go to Notification Settings and choose the app you wish to add LED to, open menu (3 dots menu) and go to settings.
• Once there swipe left 2 times to get to "Light".
• Make sure that the first box "Enable Light" is on.
• Scroll down until you see RGB LED & RGB Brightness boxes respectively.
> In RGB LED choose Flash - Hardware controlled.
• In RGB Brightness set the color value (table below).
• Test it by pressing "TEST" button on top right corner.
Working LED:
Marine Blue = 255
Green = 255255
Bright red = 13631488
Pale Blue = 6316128
Crabapple Red (pink) = 11796512
Orange = 12607488
Green = 35840
Cyan Blue = 32896
Sea Blue = 8388
Dark Purple = 3876477
Not Working:
Yellow = 256256256
Pale Blue = 255255255
Purple = 128128128
White = 256128128
Red = 128256256
Pink = 128256128

Hey there guys did you disabled the default LEDs from settings I think that may be the problem for light flow app not working
Sent from my Lenovo P2 using Tapatalk

abhayruparel said:
Hey there guys did you disabled the default LEDs from settings I think that may be the problem for light flow app not working
Sent from my Lenovo P2 using Tapatalk
Click to expand...
Click to collapse
Yup ..disabled it ..

Works !!!
Disabling only the charging and notification light didnt help. Disabled Ambient Display as well and the trick worked. Custom LED Finally Working. Ive used the Brightness levels mentioned below
Pale Blue:6316128
Crabapple Red :11796512
Orange: 12607488
Green: 35840
Cyan Blue: 32896
Sea Blue: 8388
Bright red: 13631488
Dark Purple : 3876477

Working on AEX 5 Oreo ..

That's great news guys.

Ambient Display is where?

Milan-XDA said:
Here's an updated and simplified thread on installation and configuration for LED.
Video Tutorial
• Disable ROM LED Notifications. Go to Settings > Notifications. Tap on the cog on the top right corner and go to
-Battery Charging Light > Disable
-Notifications Light > Disable
• Install Light Flow Lite.
https://play.google.com/store/apps/details?id=com.rageconsulting.android.lightflowlite&hl=fr
• Go to Settings > Device & Root > activate "Direct Mode" & "Root Mode".
• Again go to Settings > LED Control > scroll down and activate "RGB Control".
• Now go to Notification Settings and choose the app you wish to add LED to, open menu (3 dots menu) and go to settings.
• Once there swipe left 2 times to get to "Light".
• Make sure that the first box "Enable Light" is on.
• Scroll down until you see RGB LED & RGB Brightness boxes respectively.
• In RGB LED choose "solid" or "flash" whichever you prefer.
• In RGB Brightness set the color value (table below).
• Test it by pressing "TEST" button on top right corner.
RGB Colors Lenovo P2:
Yellow = 256256256
Pale Blue = 255255255
Marine Blue = 255
Green = 255255
Purple = 128128128
White = 256128128
Red = 128256256
Pink = 128256128
Huge shout out to @xewonder for being the first to make a tutorial. This wouldn't be possible without you.
Original thread:
https://forum.xda-developers.com/lenovo-p2/themes/lenovo-p2-rooted-custom-led-t3589859/
Click to expand...
Click to collapse
Appreciated ?

clxer said:
Ambient Display is where?
Click to expand...
Click to collapse
Not functional. But it's in "Display" menu in settings.

CO.Wildfire.OL said:
It works on AEX! Thanks for the fix @Milan-XDA
I did some more changes (underlined) and works 100% by using Light Flow Legacy :Led Control!
• Disable Battery Charging Light + Notifications Light from the settings!
• Install Light Flow Legacy :Led Control.
https://play.google.com/store/apps/details?id=com.rageconsulting.android.lightflowlegacy&hl=en
• Go to Settings > Device & Root > activate "Direct Mode" & "Root Mode".
> Again go to Settings > LED Control > scroll down and activate "RGB Control" + Activate "wled control"
• Now go to Notification Settings and choose the app you wish to add LED to, open menu (3 dots menu) and go to settings.
• Once there swipe left 2 times to get to "Light".
• Make sure that the first box "Enable Light" is on.
• Scroll down until you see RGB LED & RGB Brightness boxes respectively.
> In RGB LED choose Flash - Hardware controlled.
• In RGB Brightness set the color value (table below).
• Test it by pressing "TEST" button on top right corner.
Working LED:
Marine Blue = 255
Green = 255255
Bright red = 13631488
Pale Blue = 6316128
Crabapple Red (pink) = 11796512
Orange = 12607488
Green = 35840
Cyan Blue = 32896
Sea Blue = 8388
Dark Purple = 3876477
Not Working:
Yellow = 256256256
Pale Blue = 255255255
Purple = 128128128
White = 256128128
Red = 128256256
Pink = 128256128
Click to expand...
Click to collapse
Thx for the update. It seems that it's a miss and hit situation when it comes to LED codes, but hey it could be worse. You could be using an iPhone

How to enable blinking !!?

Related

[Q] Auto-brightness not working: MiniCM 2.1.8 Kernel nAa 10

Hi guys!
I have an issue with the auto-brightness setting, running on MiniCM 2.1.8
It simply does not work
Even if it is turned on, the backlight is extremely dim. Also, the phone does not react to any changes of the light setting.
The light sensor seems to be working, tested with a performance/benchmark tool from the Market.
And yes, I've tried the workaround described in the change log.
Indeed I tried all possible combinations.
Is this a known problem?
Can anyone propose a solution/workaround? Please help
1. enable autobrightness from Settings -> Display
2. enable Allow Light Decrease from Settings -> Cyanogenmod -> Display -> Automatic backlight
3. enjoy the great kernel and rom
Thank you for the hint!
However it does not help - this is the changelog workaround I tried first
I have been toggling all display settings (both generic and CM) but autobrightness never works.
Any other suggestions?
try to check Use customs Cyanogen settings - display - automatic backlight
if this does not help, just do a full wipe and check only automatic brightness from display and enable Allow Light Decrease from Settings -> Cyanogenmod -> Display -> Automatic backlight.
it should work. go near a light bulb and put your finger on the sensor (small circle in the upper right corner of the phone) and take it off and you should notice the difference
post the result here
pesky_89 said:
try to check Use customs Cyanogen settings - display - automatic backlight
if this does not help, just do a full wipe and check only automatic brightness from display and enable Allow Light Decrease from Settings -> Cyanogenmod -> Display -> Automatic backlight.
it should work. go near a light bulb and put your finger on the sensor (small circle in the upper right corner of the phone) and take it off and you should notice the difference
post the result here
Click to expand...
Click to collapse
Thank you!
After the full wipe it worked!
Before that I was also experiencing various issues (LED notification lights not working, clicking on a given setting would actually open completely different menu, restarts during phone calls) - let us hope that this will be all solved after the full wipe.
Quite interesting, because this was a fresh installation, say I full-wiped before I installed the ROM the first time, but who knows

[WORKING] Lenovo P2 (rooted) custom led notifications Stock

Hi,
to get custom led notifications you need a rooted P2 and Light Flow (find it on google apps)
I want to thank Andrew Moore (Light Flow)for taking the time to look at this with me and pointing me in the right direction
New (upcoming) version of Light Flow supporting "large" numbers for RGB led brightness will be available soon. Otherwise you may want to edit the backup file as per this post:
https://forum.xda-developers.com/vibe-p1/how-to/led-fix-custom-roms-t3569108
1>Disable led notifications on you device (Display)
In Light Flow
1> enable Direct mode and root
2> enable rgb led
3> set the rgb brightness to any the following for your notification:
Bright red:13631488
Pale Blue:6316128
Crabapple Red (pink):11796512
Orange:12607488
Green: 35840
Cyan Blue: 32896
Sea Blue: 8388
Dark Purple : 3876477
Before Andrew put me in the right direction, I tried different brightness levels with mixed success. As you see from above, the numbers have no logical sense (at least to me).
If you do find additional colors, please post them in this thread.
HAPPY CUSTOM LED NOTIFICATIONS EVERYONE
Here are the "reference colors"
Works also on custom roms.Thanks for the guide!
Thanks for making the LED work! But I'm stuck at the brightness levels part... In the notification settings per app, under the light settings, I can only set 4 numbers and you give a whole lot more. What am I doing wrong?
HyperactiveNL said:
Thanks for making the LED work! But I'm stuck at the brightness levels part... In the notification settings per app, under the light settings, I can only set 4 numbers and you give a whole lot more. What am I doing wrong?
Click to expand...
Click to collapse
As I said, light flow at the moment only supports 4 . Andrew (the maker of light flow) will update the app asap. If you are in a hurry., use the backup/modify./restore method mentioned in the first post. Just change the brightness level. It works.
Hi, any chance to set the red color too (the red color the LED shows when charging)?
Found it in the first post Sorry!
Useful 10x.
Thanks for the tip and tutorial, I got a bit confused on where to set the RGB colors (in the individual notifications) but it's working well now. Also the battery charged threshold was set at 90% by default so it popped up as green when I plugged in at 92%
It is only working in Test for me. Can someone send détailled settings?
Thanks
Did you make sure it was active? If it is you'll see a notification in the pull-down list.
This is really cool, definitely will use a custom Rom because of Light Flow.
Working thanks
Could someone tell me where I insert the RGB values?
I have a rooted Lineage 14.1, but all I can select is one colour with RGB enabled...
There is only one colour available per application, ie e.g. Signal has blue (which works), agenda as well, but Gmail has black... And that's not showing of course
Edit: I edited the settings manually and imported them again as suggested in the opening post, we'll see how that goes...
Does it work with free version of Lightflow?
https://play.google.com/store/apps/details?id=com.rageconsulting.android.lightflowlegacy
Works for me with the legacy version. But there is also a "light" version of the newest release.
Currently, I see heavy battery drain due to light flow; the device never goes to sleep. Maybe, this is different with the light version... I will try.
Edit: same battery drain issue with the light version...
This does not seem to work with the latest version of the app(I even bought pro). I followed all the steps but it never works. Is there something I'm missing? after enabling rgb control i setup a notification and in the setting's light tab i enable the light and set the rgb LED to solid and set the color to one given in the first post(none of them seem to work). I then use the test button but LED does not turn off(tried both - turning screen off and keeping it on). Any Help?
@Uibon
Me neither.
Edit: Legacy is working, but only when screen is off. I'm rooted of course rooted (Magisk) and I have the "screen on" option ticked.
Wmateria said:
This is really cool, definitely will use a custom Rom because of Light Flow.
Click to expand...
Click to collapse
The title says stock?
Those of you who reported it working, does it work when the screen is on as well?
Edit: Missed calls, incoming call and other things related to the system is working when screen is on. With Textra (and other apps?) it only works when screen is off.
Thanks for the instructions and links.
I bought the app (Just Rs 10).
Cant be more worthy purchase.
All working good.
hi can someone help i have been able to set a few app leds and they work properly but whats app i set to green but it is not working i have also disabled the led setting in whats app settings but still not flashing green for whats app message?

How to Fix Blue Light Filter and Screen Mode

Apparently my phone won't allow me to use blue light filter and screen mode settings. The on and off switches can't be tapped.
Blue Light Filter and Screen Mode options are disabled if you've got 'Greyscale' or 'Negative colours' enabled under accessibility settings.
Color adjustment will disable too
NOTE 8 USER
Mine are greyed out as well and neither of those two things are turned on.
**Found the problem. It was screen zoom setting.

Edge Lighting

Dear All,
Before i purchase i want to know , how to change the edge lighting as per the third party application themes (Facebook-Blue,Whatsapp-Green....Etc,,,,)
when i used the device with installed application you cannot change the colors for specific application, which make all the application same edge lighting color. (seems to be sad to me)
Please guys help me out!
Thanks
Settings > Display > Edge screen > Edge lighting > Edge lighting style > Color > App color
Kinda buried, but there it is.
Edit: Also know that you can change the color. It defaults to the primary color of the app icon. For instance, Outlook is blue by default but I changed it to orange because my company logo is orange.
Sent from my SM-N960U using Tapatalk

Question Screen Color

I set dispaly - color sheme on vivid (recomended) I like white color like when you set on default and choose cool. but I stay on vivid ,also check Adaptive colors, and set on cool.. I noticed that when I am outside , screen change a litle bit color to yellowish , inside is white, I see deference on keyboard on some white surface.. is that normal or I didnt set setttings right?
Hello
Thats screen flickering when you stop to touch it frequence rate go down to 60hz and you see it, i have the same annoying issue. On my poco f3 no problem, mais xiaomi have to fix it or it will be my Last xiaomi device
tze_vitamin said:
I set dispaly - color sheme on vivid (recomended) I like white color like when you set on default and choose cool. but I stay on vivid ,also check Adaptive colors, and set on cool.. I noticed that when I am outside , screen change a litle bit color to yellowish , inside is white, I see deference on keyboard on some white surface.. is that normal or I didnt set setttings right?
Click to expand...
Click to collapse
Try turning off adaptive colors
that heps ,thx!

Categories

Resources