yashsingh1/xdaforums huggingface dataset:
[Google Pixel 5 Themes, Apps, and Mods] mistermojorizin:
Do any of these work on Android 12 beta 2? Interested in the thinnest status bar without changing the nav
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
If you'll pull your framework-res.apk and SystemUIGoogle.apk I'll make you one. Where do you want the clock?
[Google Pixel 5 Themes, Apps, and Mods] Might414:
Android 12 beta 2,Left clock 40 dip?Thank you
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Here you go.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Here is one to try.
[Google Pixel 5 Themes, Apps, and Mods] Might414:
This is a problem
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Try this one.
[Google Pixel 5 Themes, Apps, and Mods] Might414:
Still the same problem，The same goes for uninstalling the module
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Best I can do with that so far is make the brightness bar smaller (which looks better anyway).

Fixed the QS tile color matching accent color as well.
[Google Pixel 5 Themes, Apps, and Mods] Might414:
I don’t have a brightness bar, I want DPI 40
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Then what is that intruding on the status bar?
[Google Pixel 5 Themes, Apps, and Mods] Might414:
Now the status bar is smaller, but the date is still blocked by the camera
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
How's the clock without the QS pulled down?
[Google Pixel 5 Themes, Apps, and Mods] Might414:
I don't quite understand what you mean, I don't understand English, I use translation software. The camera is now blocking the display of year and month. But it's perfect, thank you very much.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
When you first unlock your phone...the home screen. Is the clock okay or behind the camera hole?
[Google Pixel 5 Themes, Apps, and Mods] Might414:
The main screen time position is correct
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Thanks.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Try this to see if the date doesn't move over past the camera hole.
[Google Pixel 5 Themes, Apps, and Mods] Might414:
Thanks, perfect
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Thank you for your responses and your last video shot. I can't see your camera cutout in screenshots. Helping you also helps others so thanks for your feedback.
[Google Pixel 5 Themes, Apps, and Mods] orlandozavala:
Here they are. If possible please make size 42

Same android 12 beta 2
[Google Pixel 5 Themes, Apps, and Mods] orlandozavala:
Tks Bro work very fine, but im sorry, ITS 43 not 42 , can you try please
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
It's 42.

Edit: here's a 43
[Google Pixel 5 Themes, Apps, and Mods] Might414:
Looking forward to updating Android12 beta3, DPI40, thank you
[Google Pixel 5 Themes, Apps, and Mods] anonxlg:
I don't have a pixel, I have essential phone:

Not sure if it comes across, but there's an every slight gap between the camera notch, and the bottom of the status bar, probably just a few pixels high, and it's kind of bothering me.

I've been trying to find where to find the 'statusbarsize' parameter in the systemui and framework apk in systems folder without any luck, so I'm hoping this could work, but I don't know what the 'waterfall' is.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
You might not have it. It would be in developer settings, cutout view.
[Google Pixel 5 Themes, Apps, and Mods] anonxlg:
That's a shame. If you have time and don't mind, can you explain how to modify the statusbar height?

I'm blindly looking through systemui and framework apk's xml files for some dimension tag, if that's even how you do it, without any luck.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
If you don't have a cutout view, I can't help you. It's not the status bar size that is the problem.

In developer settings, look for this:

Waterfall cutout is what you need.
[Google Pixel 5 Themes, Apps, and Mods] anonxlg:
I have: Device default (what i'm using), Corner cutout, Double cutout, and Tall cutout
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Statusbar height is found in the res/values/dimens.xl in both the SystemUI and framework. The one in the SystemUI refers back to the one in the framework. The problem being, it doesn't appear to be the statusbar height that needs changed. It might be some padding height that is above and/or below the statusbar.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
You didn't decompile your SystemUI. All you did is unzip it.
[Google Pixel 5 Themes, Apps, and Mods] anonxlg:
ctrl+f all the 'status' entries:

\SystemUI\res\values\dimens.xml:

\framework-res\res\values\dimens.xml:

Most promising entries, to me, are:

Line 519: <dimen name="status_bar_height_landscape">28.0dip</dimen>

Line 520: <dimen name="status_bar_height_portrait">144.0px</dimen>

In the framework apk, but you mentioned it's more likely it's a padding modifier, in while case, in systemui apk:

Line 890: <dimen name="status_bar_header_padding_bottom">48.0dip</dimen>

Line 891: <item type="dimen" name="status_bar_height">@android:dimen/progress_bar_size_medium</item>

Line 892: <dimen name="status_bar_horizontal_padding">2.5dip</dimen>
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
You'll just have to try them. It's trial and error.
[Google Pixel 5 Themes, Apps, and Mods] anonxlg:
Before taking my question else where, do you know if possible to create a magisk module to just modify said value *inside* the apk.

Otherwise, I would just modify the xml file, recompile it back to apk, reboot to recovery, and manually replacing the target apks (not even sure if this is okay, ie-> is this even allowed in android -> passing safetynet?)
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
I can make you one but you'll still have to edit, then recompile. After you recompile, then you unzip the apk and put the contents into my module. Did your SystemUI come from system/priv-app or system/product/priv-app?
[Google Pixel 5 Themes, Apps, and Mods] anonxlg:
/system/product/priv-app/SystemUI/SystemUI.apk

Thanks for the help
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
You are welcome to try this. You modified files would go in the vrtheme/system/framework/framework-res.apk and/or vrtheme/system/product/priv-app/SystemUI/SystemUI.apk folders. Don't include meta-inf folder or androidmanifest.xml. Any mods done to files in the values folder (like dimens.xml) are lumped into the resources.arsc file. If you aren't going to modify the framework, delete the vrtheme/system/framework folder. Don't just leave them empty.
[Google Pixel 5 Themes, Apps, and Mods] alexmeo:
Hi, I've asked you already to make the module for Lineage OS, but it updates almost every week, and they do the modifications in systemUI and framework-res files in this updates. So the old module causes bootloops. I understand the it takes time and is inconvenient to make every time new module, so maybe with your one time help I can modify the module every time so it fits new updates of Lineage OS?

P.s. because your module is really must-have
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Can you run bash script?

If you will give me the framework-res.apk and Systemui.apk again i might be able to give you a module that will last longer.
[Google Pixel 5 Themes, Apps, and Mods] alexmeo:
I've never run bash scripts, but I've googled how to do it and already have terminal apk. If there are some special commands or a place to run scripts from than please specify them. Here are systemUI and framework-res files.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Unzip this onto your "c" drive. Drop your framework-res.apk, SystemUI.apk, and Displaycutoutemulationwaterfalloverlay.apk into folder. Open a bash script terminal from within the folder and copy the script from the readme.txt and run it. You need to have java jdk installed as well. Results will be in the done folder.

Before you run this each time, delete the framework-3Custom11script folder so that the new framework is installed.

Here is the new module.
[Google Pixel 5 Themes, Apps, and Mods] alexmeo:
I haven't tried yet to make module but using yours cause left notifications to go behind the camera.

And the question, as I understand I have to run script in Windows in cmd? Do I have to run apktool.bat? Or just bash script called LCwaterfall36?
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Just run the script that is in readme.txt file in a bash cmd window. I use GIT.
[Google Pixel 5 Themes, Apps, and Mods] alexmeo:
Some errors
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Looks like the SystemUI.apk you pulled was already modified. Remove any of my modules you had installed, reboot, then pull the SystemUI.apk again (or use the one you uploaded for me).
[Google Pixel 5 Themes, Apps, and Mods] alexmeo:
All is ok, thank you, working great!
[Google Pixel 5 Themes, Apps, and Mods] alexmeo:
But there is still one problem - notifications on the left side of status bar goes under camera circle. But if I set left clock than it is all ok.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
The mod is for left clock....what do you mean "set for left clock"?
[Google Pixel 5 Themes, Apps, and Mods] alexmeo:
Pi

In LineageOS I can set clock position left or right
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
You can try this, if you like. Drop it in your script folder and change the readme.txt part to RCwaterfall36. If this doesn't work, there is nothing I can do. Take off the .zip

RCwaterfall36.zip | by Tulsadiver for Pixel

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com
[Google Pixel 5 Themes, Apps, and Mods] super6uno:
Hi, dont work with my new Pixel 5. I installed CCwaterfall36.zip it center clock but dont reduce bar size.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Did you choose the waterfall cutout option in settings/system/developer settings?
[Google Pixel 5 Themes, Apps, and Mods] super6uno:
Sorry, that was it.

I love it, it has put me the games full screen in portrait and landscape. Brilliant.

Thanks.
[Google Pixel 5 Themes, Apps, and Mods] super6uno:
Is it possible to combine the CCWaterfall36 with the mod to hide the navbar?
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Yes. Flash ccwaterfall36 first.
[Google Pixel 5 Themes, Apps, and Mods] file2mail:
Hi, looking to do this for a Samsung s10...

Would you or someone be able to just provide a tutorial in generating our own? I'm fairly capable, and love to be able to build my own updates
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
You need to modify your DisplayCutoutEmulationWaterfallOverlay.apk from your system/product/overlay folder.

Decompile and edit:

in res/values/dimens.xml

1. Change these two from whatever their original codes are, to whatever size you want your statusbar to be:

From: <dimen name="status_bar_height_landscape">48.0dip</dimen>

To: <dimen name="status_bar_height_landscape">36.0dip</dimen>

From: <dimen name="status_bar_height_portrait">28.0dip</dimen>

To: <dimen name="status_bar_height_portrait">36.0dip</dimen>

Also in res/values/dimens.xml

2. Change these two to zero dip

From: <dimen name="waterfall_display_left_edge_size">20.0dip</dimen>

To: <dimen name="waterfall_display_left_edge_size">0.0dip</dimen>

From: <dimen name="waterfall_display_right_edge_size">20.0dip</dimen>

To: <dimen name="waterfall_display_right_edge_size">0.0dip</dimen>

Recompile and put into a Module and flash. Then, in settings/system/developer options, select Waterfall cutout option in the Display cutout options menu.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Mods have been updated to October update.
[Google Pixel 5 Themes, Apps, and Mods] alexmeo:
Hi, I'm trying to start bash script but there is some problem. Look please.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Did you put your framework-res.apk in your folder? Also, you have to open the bash cmd window from within the main folder.
[Google Pixel 5 Themes, Apps, and Mods] file2mail:
Thanks for that!

Does the recompiled apk need to be signed?
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
I use the original signing.
[Google Pixel 5 Themes, Apps, and Mods] alexmeo:
Hi, could you please correct this module for pixel 5a? Or maybe it is not necessary and i can compile with this script? Ive attached files if they are needed.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Yes, you can use this script as long ss your SystemUI.apk is named as such and not SystemUIGoogle.apk stock Pixels are. You must delete the other apk's and framework_3Custom11script folder (where 1.apk is installed).
[Google Pixel 5 Themes, Apps, and Mods] bunklung:
Has anyone tested this with Android 12?
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Android 11 mods won't work on Android 12.
[Google Pixel 5 Themes, Apps, and Mods] bunklung:
Bummer, so do we have any options for reducing the status bar height on 12?
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Yes, as soon as I can get these updated to 12.
[Google Pixel 5 Themes, Apps, and Mods] andybones:
Hey man,

Could you be kind enough to do Left clock 36 dip for crDroid Android 11, please?

Thank you so much.
[Google Pixel 5 Themes, Apps, and Mods] andybones:
Awesome, working perfectly, thank you very much!

I see here on post #289 you explain how to edit the DisplayCutoutEmulationWaterfallOverlay.apk

Whenever you have time, do you think you could possibly post the edits for SystemUI.ak so that the clock isn't stuck behind the cutout, please.

Will save me from having to keep asking you to update the module each time there's an update and something changes.

Much appreciated,

Cheers!
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
I edit the SystemUIGoogle.apk as follows:

res/values/dimens.xml

From: <dimen name="status_bar_left_clock_starting_padding">0.0dip</dimen>

To: <dimen name="status_bar_left_clock_starting_padding">30.0dip</dimen>

res/layout/keyguard_status_bar.xml

Find code:

"android:id="@iD/keyguard_carrier_text"'

Add padding after it like so:

'android:id="@iD/keyguard_carrier_text" android:paddingLeft="30.0dip"'

Smiley face comes from colon p
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Android 12 mods have been uploaded.
[Google Pixel 5 Themes, Apps, and Mods] Ivixmax:
thanks master ! now a navbar gone would be amazing 🤗
[Google Pixel 5 Themes, Apps, and Mods] andybones:
Thank you so very much for sharing!
[Google Pixel 5 Themes, Apps, and Mods] andybones:
One small issue I am coming across is during notifications or downloads icon is behind the cut out.

It's hard to tell from the Screenshot.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
I don't know....your battery-wifi-data icons aren't showing, your clock isn't either. Weird.
[Google Pixel 5 Themes, Apps, and Mods] andybones:
I think this is normal behavior for downloads. I took a screen record, but I'm not sure exactly how to take any screenshot/record that shows the cutout, so basically just imagine the cut out is directly behind the download icon, and any other notification icon for example in YouTube. The green highlights what can't be seen.

I wonder if a padding is needed inside one of the layouts that is for notifications? But I'm very terrible at trying to figure it out.

If I use 24dip I can see a little bit of the icon above the punch hole, because the status bar is so small. I prefer 36dip, but beggars can't be choosers. :)

Thank you so much again for all that you do for the community.
[Google Pixel 5 Themes, Apps, and Mods] orlandozavala:
could you make one of 42 with the clock on the left for android 12 please
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Could it have something to do with your custom rom? My downloads are to the right of my clock.
[Google Pixel 5 Themes, Apps, and Mods] andybones:
Good question. crDroid is based off AOSP like Pixels though. When I download something from say your OP through the browser that download icon IS to the right.. but for all my incoming notifications like say a text message, the icon is to the left while it's incoming, but once it's done it's back over to the right. So it's back n forth for things. Another example is when an email or text message is incoming, the icon is to the left of the date, like in my video, but once the notification has come in it moves over to the right. I do believe this is normal behavior, but would need someone to confirm. So, it's not enough of a bug to go back to the horrendous stock large status bar, but can be quite annoying when using the phone and the notification comes in. YouTube you can really see it.. Well YouTube Vanced anyway when going from video to the home screen.

If you have a chance would you mind try downloading something from the Playstore and see if it is like my video with the download icon over to the left of the clock, please.

Just for peace of mind. :)
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
I did. Mine starts and stays to the right of the clock....
[Google Pixel 5 Themes, Apps, and Mods] andybones:
Much appreciated for checking.

Very strange indeed.

Thanks again, my friend!
[Google Pixel 5 Themes, Apps, and Mods] trips555:
Are you using this with 3minit? Cause I don't get that issue if I use one of them but I do when I use them together.
[Google Pixel 5 Themes, Apps, and Mods] Hung0702:
Has anyone tried this with the December update? I see kernel updates, and many more under the hood.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Lots of changes. I have some updates I'm trying to get uploaded.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
December updates have been uploaded.
[Google Pixel 5 Themes, Apps, and Mods] andybones:
Hey man,

do you mind modifying crDroid A11 for left clock 36dip for me again, pleasae?
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Try this
[Google Pixel 5 Themes, Apps, and Mods] andybones:
Thank you for the quick .zip!

Running into this same issue I was getting
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
What is all of that from?

Are you saying it didn't flash?
[Google Pixel 5 Themes, Apps, and Mods] andybones:
It gets to the lockscreen then flashes the screen.

the .zip is the logcat I pulled.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
You say this is the same issue you were getting.... I don't remember you saying anything other than there were times something was going behind the punch hole. Nothing about a bootloop.
[Google Pixel 5 Themes, Apps, and Mods] andybones:
Sorry that was a confusing post.

I tried to make this MOD before asking, as you gave me the edits, I ran into this same issue earlier today, forgot to put that in.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Okay, makes sense. No reason it should bootloop.

Did you pull these from your phone or the crDroid install zip?
[Google Pixel 5 Themes, Apps, and Mods] andybones:
I pulled from the phone's ROM running the new crDroid
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
That should work. Do you have anything else installed?
[Google Pixel 5 Themes, Apps, and Mods] andybones:
removed everything and rebooted, same bootloop.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Removed everything, rebooted, then flashed again and rebooted?
[Google Pixel 5 Themes, Apps, and Mods] andybones:
will try that now.
[Google Pixel 5 Themes, Apps, and Mods] andybones:
So i set to 3 button and all is well, once I change to gesture nav I get the bootloop.

also is this normal?

this is the view of the .apk in the data/adb/modules of SystemUI.apk
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Were you using gestures before?
[Google Pixel 5 Themes, Apps, and Mods] andybones:
I was, yes
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
This probably won't work either but you can give it a try.
[Google Pixel 5 Themes, Apps, and Mods] andybones:
yea no go, but I appreciate your time and efforts!
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Weird. Maybe decreasing those paddings from 30 dip a little bit, I don't know.
[Google Pixel 5 Themes, Apps, and Mods] andybones:
thanks again!

edit: what makes no sense to me is that last months .zip doesn't bootloop. but the statusbar is missing,, I can pull it down though on the homescreen.

:confused:

edit2: so I decompiled/recompiled SystemUI.apk without touching anything, and still received the bootloop. Something must be getting messed up in the compilation?

edit3: so the logcat kept complaining about TensorFlowLib issues. I found that @Typhus_ was coming across this issue (seems to only happen with gestures)

he made a little hack to bypass the issue that I am going to upload incase you come across this. (full credit to @Typhus_ of coarse)
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
You aren't on Android 12 though. Anyway, you'd at least have to make some changes to the zip. Your SystemUI.apk, not SystemUIGoogle.

Edit:. I was talking about the padding on the dimens.xml and keyguard_status_bar.xml.

Try these. One is waterfall cutout only. Doesn't change statusbar at all but trying to pin down the cause.

Does it bootloop without waterfall cutout selected in developer settings?
[Google Pixel 5 Themes, Apps, and Mods] andybones:
In my testing, the waterfall cutout .apk modifies and flashes without issue, it was once I got to SystemUI.apk

And my A11 does have the TensorFlow.lib so I just modified the .zip accordingly using my .lib and changing to SystemUI.apk

Should I still try flashing any of your .zips?

Here is my modified .zip I'm using.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Try the Lcwaterfall36 one

Edit:. I might have found something. Try this one.
[Google Pixel 5 Themes, Apps, and Mods] andybones:
Darn bootloop ;-(

How difficult would it be to modify pixel launcher to be completely stock but with search bar gone. And basically the icons would ideally be seated where the search bar was.

Thanks!
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
See my edited reply and try the store one.

Here is a launcher for you to try. I'm not on A11 but this is off an older 11 one.
[Google Pixel 5 Themes, Apps, and Mods] andybones:
Argg bootloop.

Thank you for your continued support on this issue!

You wouldn't happen to have this same modified launcher, in 5x7 grid layout however?
[Google Pixel 5 Themes, Apps, and Mods] andybones:
This looks really great! Thank you.

I believe this is 5x8, though.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
This is a little old so who knows 🙂
[Google Pixel 5 Themes, Apps, and Mods] andybones:
Yea sorry I'm staying A11 for now.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
I don't have anything on A11 and so can't check any of this but you can try this to see if it is any better.
[Google Pixel 5 Themes, Apps, and Mods] andybones:
Came out very good!
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Still a little low. Try this.
[Google Pixel 5 Themes, Apps, and Mods] andybones:
This is an absolute perfect 5x8! Thank you so much for this.

It's nice to have variations.

I usually run 5x7, but as I showed up above the app drawer starts very low. (Sort of where the app drawer ended , before removal.

Do you think you could possibly take a look at it and see if you're able to see where the problem is? Everything with the colors, home screen, etc is fine.

But I think I'm really starting to enjoy this a bit more! Can't thank you enough for everything today.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
I looked and everything is showing 5x7 on my end....

Edit: try a 5x6. With the search bar gone maybe it'll give you a 5x7
[Google Pixel 5 Themes, Apps, and Mods] andybones:
Absolutely perfect.

Thank you my friend!
[Google Pixel 5 Themes, Apps, and Mods] jadajada:
Will this mod be compatible with March update (12.1)? Asking since the more comprehensive pixel features mod is not.
[Google Pixel 5 Themes, Apps, and Mods] Tulsadiver:
Certainly not as is and I'm not sure it'll work even if updated. It didn't work with the Pixel 6 Pro.

Would you mind trying this to see if the statusbar fix works for the Pixel 5?
[Google Pixel 5 Themes, Apps, and Mods] super6uno:
Hi, any update for Pixel 5 with 12.1? Thx