-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to add an overlay for Sony pdx213 (xperia 10 III), and could use a few pointers #412
Comments
config_autoBrightnessLcdBacklightValues is the obsolete method, nowadays
it's config_autoBrightnessLcdBacklightValues that you want
Le dim. 14 nov. 2021 à 21:18, Pepijn de Vos ***@***.***> a
écrit :
… I recently got my xperia 10 III and right away loaded a PHH-trebble based
ROM on it. Works great except for a few tiny things such as auto brightness.
I'm kinda new to Android hacking stuff but know my way around software
development so figured I'd try to help out.
Over at XDA ada12 mentioned it's a matter of adding some overlay values.
Looking around the repo I found that @j4ger <https://github.com/j4ger>
recently added an overlay for another Sony device, so that gives a starting
point but is a bit more than ada12 made it out to be. Which method did you
use to obtain these files?
Looking at https://github.com/sonyxperiadev/device-sony-pdx213 I see
files that seem quite related, but no mention of
config_autoBrightnessLcdBacklightValues that ada12 was talking about, and
which is indeed present in the pdx206 folder.
Does that get assembled from other places, or does it simply not have the
right stuff? The only mention of brightness in that repo is commented out.
Another issue had someone asking for an overlay, which got pointed to this
thread:
https://forum.xda-developers.com/t/guide-how-to-make-gsis-overlay-file-for-your-phone.3878974/
I'd be happy to try to follow that, but A) if the official Sony repo has
the right stuff that seems a lot easier. B) I already flashed a new ROM so
I don't have access to the stock ROM anymore to try this.
I did download the official firmware using XperiFirm, are the files in
question in there somewhere? Not sure if you can just unzip and mount these
images somehow.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#412>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAA4OT63WN3GRCLWSOPWYTUMAKQHANCNFSM5IAHLIAQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
I get your frustrations buddy, I've been there before. Being such a niche product family, little resource and community can be found for this device, making further development somewhat tricky. Sony is kind enough to provide the SODP repos but I couldn't find too much useful config out of it (you could probably make use of power_config.xml but I wasn't able to see the difference before and after applying it). |
I have indeed found that unsin will allow me to mount the firmware image, but as you said it only seems to contain the power config and not the config file that controls the stuff of interest like auto brightness. At first glance it looks like Sony also did not provide the relevant config on their github but ada12 pointed out that the bulk of the config lives in https://github.com/sonyxperiadev/device-sony-common/blob/master/overlay/frameworks/base/core/res/res/values/config.xml with only device-specific extension in https://github.com/sonyxperiadev/device-sony-pdx213/blob/master/overlay/frameworks/base/core/res/res/values/config.xml so that's the route I'm trying to take. Let's see if it actually works. Current progress is in #413 |
I recently got my xperia 10 III and right away loaded a PHH-trebble based ROM on it. Works great except for a few tiny things such as auto brightness.
I'm kinda new to Android hacking stuff but know my way around software development so figured I'd try to help out.
Over at XDA ada12 mentioned it's a matter of adding some overlay values.
Looking around the repo I found that @j4ger recently added an overlay for another Sony device, so that gives a starting point but is a bit more than ada12 made it out to be. Which method did you use to obtain these files?
Looking at https://github.com/sonyxperiadev/device-sony-pdx213 I see files that seem quite related, but no mention of
config_autoBrightnessLcdBacklightValues
that ada12 was talking about, and which is indeed present in thepdx206
folder.Does that get assembled from other places, or does it simply not have the right stuff? The only mention of brightness in that repo is commented out.
Another issue had someone asking for an overlay, which got pointed to this thread:
https://forum.xda-developers.com/t/guide-how-to-make-gsis-overlay-file-for-your-phone.3878974/
I'd be happy to try to follow that, but A) if the official Sony repo has the right stuff that seems a lot easier. B) I already flashed a new ROM so I don't have access to the stock ROM anymore to try this.
I did download the official firmware using XperiFirm, are the files in question in there somewhere? Not sure if you can just unzip and mount these images somehow.
The text was updated successfully, but these errors were encountered: