Skip to content
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

Fix A14 QPR2 status bar on Redmi 9 #106

Merged
merged 1 commit into from May 10, 2024
Merged

Fix A14 QPR2 status bar on Redmi 9 #106

merged 1 commit into from May 10, 2024

Conversation

ghost
Copy link

@ghost ghost commented Apr 21, 2024

I updated this PR instead of creating a new PR.

A14 QPR2 can be booted on Redmi 9 without bootloop.
But the status bar position is now changed even though it was fine on the A14 pre-QPR2.

SystemUI overlay previously set on A14 pre-QPR2 android_14.0.0_r27 ci-20240226
And now it looks different on the A14 QPR2 android_14.0.0_r37 ci-20240508

Below is a screenshot of current status bar, measured using ruler in GIMP.
It's not too obvious from the screenshot but it's obvious when seen directly.
current


Using rounded_corner_content_padding = 7.0dip
And remove status_bar_padding_end & status_bar_padding_start
Now the status bar is symmetric again (left: 13.5mm | right: 13.5mm)
These values are taken from MIUI (values-xxhdpi).

Tested with android_14.0.0_r37 ci-20240508

@ghost ghost closed this Apr 22, 2024
@ghost ghost reopened this Apr 22, 2024
@ghost ghost changed the title Add correct way to fix status bar on Redmi 9 Fix A14 QPR2 status bar on Redmi 9 May 9, 2024
@ghost
Copy link
Author

ghost commented May 10, 2024

Sorry to ping you, Sir @phhusson
I plan to install Ponce's AOSP or Andy's TD-based LineageOS because of Trebuchet (I need the app lock feature).
Hopefully you can merge this PR so it is included in the new image they build/release next.
Thank you for your kindness and hard work.
And sorry if I ask you too much.

@ghost
Copy link
Author

ghost commented May 10, 2024

Also the values I took from MIUI values-xxhdpi (rounded_corner_content_padding = 7.0dip) correspond to the screen density of the Redmi 9 (xxhdpi)
So I think this is the correct value.

Here is a screenshot using this PR.
xxhdpi

@ponces ponces merged commit 3e30e28 into TrebleDroid:pie May 10, 2024
1 check passed
@TechySkills
Copy link

@mtsxyz Hello brother Uh I have a question How did you do this fix? I also have this status bar issue, But it also existed beforehand. If its possible you could like explain in more detail and possibly help me fix the Infinix Status bar as well? (Its more annoying because the notch is top left corner not in center so when clock gets covered by that... yea, so any idea how i can fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants