Question help to create overlay pull request - POCO M3 Pro / Redmi Note 10 5G

I found this template of vendor overlay:
https://github.com/mochenya/vendor_...mmit/6178adebef93a5915afcc837fcbddcaf5b8ebefe
Because redmi 10 also had 6.5" 90hz screen, the system ui and brightness values was almost the same as camellia.
We need to replace values of cpu, network and etc.
This pull request will fix all brightness bugs of all gsi rom, any one can help me?

Try this.... Currently don't have Linux on my PC, so I can't do this haha
How to create an overlay?
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com

@malfunchan
Can you help to test the branch? It's the best way to fix brightness bug.

Related

Errors in custom rom

First and foremost, I'd like to apologize for posting here, normally I would post to the relevant rom thread, but I am too new to do that.
The rom I have flashed is the one in this thread: https://forum.xda-developers.com/oneplus-3t/development/rom-resurrection-remix-5-8-0-oms-t3527338
I have a a small issue and one big one.
My first issue is with srgb mode. When I go to developer settings and toggle it, it does nothing. If I turn it on and re open developer options the switch is set to off. Is this something the kernel is forcing? I can't take the oversaturated colors, they give me bad migraines if I see them for too long.
The other issue is with adding quick setting tiles. When I click the edit icon and try to drag o e of the tiles up it stops short and will not scroll to the area I need to drop it in.
Please help.
Thanks.
The sRGB issue is common between all Cyanogenmod/LineageOS based roms, even on the previous Oneplus2 so there's not much you can go about it other than running another kernel with KCAL control and adjust color values yourself. The other bug is probably something local to RR so just wait for update and maybe it gets fixed someday.

Why haven't any ROM developers added DCI_P3 Calibration for their ROM's?

I've been reading here and there, and I've come upon that thread where you can enable DCI_P3 calibration for your display on your OP3T, only on OOS thou.
Why isn't it supported on any ROM where the Display Model doesn't even turn up, and why haven't any ROM Devs implemented it?
Cheers!
because not all 3/3T support dci-p3 color scheme ..
Only S6E3FA5 panel ID that supporting dci-p3
twentyfourinc said:
because not all 3/3T support dci-p3 color scheme ..
Only S6E3FA5 panel ID that supporting dci-p3
Click to expand...
Click to collapse
It's a simple thing to have the ROM detect the ID of the Panel, and then have ROM to choose whether to show the option in Calibration Settings under Settings.
thes3usa said:
It's a simple thing to have the ROM detect the ID of the Panel, and then have ROM to choose whether to show the option in Calibration Settings under Settings.
Click to expand...
Click to collapse
If you think simple enough, so make yourself...
It's added through the kernel not the ROM, Ex and Blu spark both have it in OOS and custom kernels. Lineage also have it in their kernels too.
It works really well in LineageOS, I like the not so over saturated coloring in this mode, it's really nice to the eyes.
A Magisk module is available for it. https://forum.xda-developers.com/showpost.php?p=72842349&postcount=11
@thes3usa DCI_P3 color profile is available in official Resurrrection Remix rom for OP3T
You can with this one:
https://forum.xda-developers.com/on...ment/rom-zenity-resurrection-remix-n-t3551384
It's in Live Display settings. Don't change the kernel though, or you won't have the option anymore.
Installed the Aug.31 build of Lineage on my 3T yesterday, and it's an option there in Live Display settings too. There also seems a bug where the selected colour profile reverts to default every time you turn the screen off and on though :/
Apparantly the dci-p3 should be available using Vertex OS. But since i dont have the supported panel(wierd, since i bougth it in June 2017, so probably didnt get the newer display).. But it should be possible to change even on the old display ?
EDIT:
I found out that i have the correct display which ends on a5, so it should be able. But cannot find the necessary files in the sys/devices/virtual/graphics/fb0 folder....

How to add "Buttons" Option on Github's OneplusOOS tree

Hi everyone,
I would like to know if there is BKM to add the "Buttons" option in setting for OneplusOOS that publish in Oneplus's Github.
I have built the image/ROM for my Oneplus 3T but this option is not present.
Thanks.

Screen Burn-in fixes for all ROMs

So my Mi5 has a severe screen burn-in (image retention, ghosting, or whatever you wanna call it) and I've been looking for solutions for sometime, for all the ROMs.
So I suppose this thread will be useful to you guys too.
** The permanent solution is to replace the display **
** I will be not responsible for any damages caused to your handset by flashing custom ROMs and/or custom kernels or by any other means. I didn't develop any of these nor I have any affiliation with them. This is just a guide. Try these at your own risk. **
Solution 1 - Live display feature in LineageOS
This is the easiest and hassle free solution. Just flash LineageOS and use the Live display feature and adjust the RGB values to 90.
LOS 14.1
LOS 15.1
Solution 2 - KCAL
This is a free colour correction tool developed by @savoca.
To use this you must have a supported kernel & root. This supports AOSP ROMs (but didn't try it on every ROM though ...)
Just install the apk grant access , turn on 'colour service' & 'set on boot' options. Then adjust the RGB values to 220-230 (more or less depending on the severity of your burn-in) and save the changes.
KCAL official XDA thread
Solution 3 - Colour Changer Pro
This is a paid app. but it's the only app that I found which supports MIUI with stock kernel. It also requires root.
select a custom profile and adjust the RGB values to 220-230 (more or less depending on the severity of your burn-in) and turn on the profile.
Only problem that I found is that if you install a new app it resets the values to default so you have to activate it again.
The free version give you pro features for a few days so you can try it before you buy it.(adjusting RGB requires pro version)
Get it on google play
** I didn't test the effect on battery life when using KCAL and Colour Changer Pro but according to my experience they are very insignificant **
I hope this will be helpful to you guys as burn-ins are a widespread feature ( ugh ! .. sorry, problem) in mi5 devices.
credits,
@bgcngm & LOS team - LineageOS
@savoca - KCAL
Omega Centauri Software - Colour Changer Pro
This is my fix from 4pda, please sindicate a link to the author...

Themes / Apps / Mods Mirror2RearUltra (rear screen mirroring) (quick tile) (1.0.4)

So it took me a couple of days but I developed a rear screen mirroring app called Mirror2RearUltra. It consists of a quick setting tile and nothing more.
Try it out for yourself, see what happens. I don't know how to squash the bugs but the source (and APK) is available on GitHub if anybody wants to take a peek.
Yes, it does mirror the display onto the rear display.
GitHub - tpkarras/Mirror2RearUltra: Rear screen mirroring plugin/app for Xiaomi Mi 11 Ultra.
Rear screen mirroring plugin/app for Xiaomi Mi 11 Ultra. - GitHub - tpkarras/Mirror2RearUltra: Rear screen mirroring plugin/app for Xiaomi Mi 11 Ultra.
github.com
Nothing happens when I start it. I see the headline, but the app interface is blank.
I'm not supposed if that's the expected behavior, but it doesn't seem to do anything regardless.
GuyWithRootedPhone said:
So it took me a couple of days but I developed a rear screen mirroring app called Mirror2RearUltra. It consists of a quick setting tile and nothing more.
Click to expand...
Click to collapse
Thank you.
But please specify which are the requirements:
- root ?
- Android version ?
- ROM ?
These info are not available also on your github repository.
munky-head said:
Nothing happens when I start it. I see the headline, but the app interface is blank.
I'm not supposed if that's the expected behavior, but it doesn't seem to do anything regardless.
Click to expand...
Click to collapse
you're supposed to start it from the quick tile.
themissionimpossible said:
Thank you.
But please specify which are the requirements:
- root ?
- Android version ?
- ROM ?
These info are not available also on your github repository.
Click to expand...
Click to collapse
it should be usable without root.
11 min (since that's what the Mi 11 Ultra) shipped with.
MIUI (developed with Xiaomi.eu) but should work with any MIUI version.
nasıl yükleyeceğimi anlamadım
I don't understand how to install it
frelinnn said:
I don't understand how to install it
Click to expand...
Click to collapse
release I uploaded didn't work, fixing it asap.
GuyWithRootedPhone said:
release I uploaded didn't work, fixing it asap.
Click to expand...
Click to collapse
and... fixed!
Great. Works a treat. Thank you.
@GuyWithRootedPhone I was just reviewing your code on github and as a casual android developer with no experience with this kind of thing (dealing with extra screens) it doesn't look TOO hard. I was wondering though, do you think it'd be possible to build an application that could read notifications and display them to the subscreen? I just absolutely hate that Xiaomi only allows it's default messaging and dialer app to display actual details to the subscreen. I love Google's implementation of Messenger and that's my preferred texting app, but with that as default, nothing appears like the Xiaomi messenger. Same situation with Google's dialer application.
If you have any ideas/tips you could throw my way, I'd be very interested in working on such an app that would allow selected applications to display their contents on the subscreen.
beta 2 is out... it takes methods from the subscreen app installed on the Mi 11 Ultra in an attempt to keep the screen on.
if anybody has any ideas or suggestions on how to keep the screen on full brightness without modifying the settings, that would be super helpful.
Release 1.0-beta2 · tpkarras/Mirror2RearUltra
added code to wake screen up upon launch/wake.
github.com
beta 3 is out, did some tweaks to get it to work on older devices.
if anybody can help me figure out how to keep the screen brightness on the rear display to max. I'd buy you a coffee, I'm struggling to figure out how this all works.
Release 1.0-beta3 · tpkarras/Mirror2RearUltra
Minor fixes. Fixed bug involving face down sensor.
github.com
This app isn't doing a thing
I actually had an idea about using rear screen as an input surface while gaming. For example you can map touches/swipes on rear screen onto an action/touch on front screen area and get another functionality. Your app is quite promising to start with. Thanks for this.
droidDHD said:
This app isn't doing a thing
Click to expand...
Click to collapse
can you logcat the app? i need to know if it's crashing or not.
Works fine on mine. Once installed, just swipe from the top, turn it on, click start now and when you tap rear screen to start, it shows main screen. Sorry can't take rear screenshot.
Rotation doesn't work.
Try put camera in video mode and you will end up upside down on rear display.
I would like this to work, because this is my missing feature from Android 12. That all camera options are seen in rear display.
I can't use android 12 and mui 13 because of one sim not able to do call forwarding.
Otherwise works, would be better if it was written in advance that you need to place it in quick launch.
不错 很好用
fixed the brightness to keep the screen bright at all times.
this is the final release, hoping it works for everybody.
Release 1.0-final · tpkarras/Mirror2RearUltra
includes fix to keep screen bright and prevent touch inputs.
github.com

Categories

Resources