yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device Development Themes and Apps] javed2f:
Hi bro,its not working for me..as I m using stock slim v2 mm. 238..
[Sony Cross-Device Development Themes and Apps] whalesplaho:
It caused bootloop or not changing dpi size?
[Sony Cross-Device Development Themes and Apps] javed2f:
Its not changing dpi size.whats the problem..
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Share yur framework-res.apk and lemme see if i can get yhu something... And what dpi do yhu want?
[Sony Cross-Device Development Themes and Apps] javed2f:
Thanks bro, pls find attached.. And i need 36dpi...
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Getting error while decompiling.... Share yur semcgenericuxpres too brov.
[Sony Cross-Device Development Themes and Apps] javed2f:
Pls check bro...
[Sony Cross-Device Development Themes and Apps] whalesplaho:
I dnt know whats wrong.... Error decompiling!

Maybe tha ROM dev can help.. Why not let him know theres error decompiling tha framework-res.apk. Sorry brov
[Sony Cross-Device Development Themes and Apps] Guetto Design:
what error ?

log it bro

use right semc and framework will solve

if you error got which id missed

first decompile framewrok-res.apk add missed id compile

and make it install and decompile bro

will work

temp id will help to decompile

Sorry bad english

translation
[Sony Cross-Device Development Themes and Apps] whalesplaho:
not decompiling at all buddy.... thanks!!!

see below screenshot.... yur english okay buddy!
[Sony Cross-Device Development Themes and Apps] Zoocky:
Im on LP and i wont to try but im confused ! :confused:

What backup do you think and how to do backup ? :confused:
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Take a full backup from recovery.....
[Sony Cross-Device Development Themes and Apps] Zoocky:
Ahaaa ... Thanks i will try . ;)
[Sony Cross-Device Development Themes and Apps] pcyfff:
Thanks!
[Sony Cross-Device Development Themes and Apps] abo hani:
Awesome work ;)
[Sony Cross-Device Development Themes and Apps] whalesplaho:
appreciate yur comment brov...:highfive::good::victory:
[Sony Cross-Device Development Themes and Apps] Phazonclash:
Works great, thanks : An idea. Would it be possible to make a version with the "Recent apps" and "Back" buttons inversed?

Thanks ;)
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Thanks for yur comment brov..... I dnt know tho buh dis is just an overlay.. I saw tha feature in [MENTION=599722]niaboc79[/MENTION] thread, maybe i ll ask him.:highfive:
[Sony Cross-Device Development Themes and Apps] Ticklefish:
There's no reason why not. Just add a modified navbar.xml. :)
[Sony Cross-Device Development Themes and Apps] Phazonclash:
A very bad habit I took when I had Samsung phones... :p
[Sony Cross-Device Development Themes and Apps] whalesplaho:
i dnt get tha bad habit....:silly:
[Sony Cross-Device Development Themes and Apps] whalesplaho:
how do i archieve dis brov cos yhu av to reference some layouts.
[Sony Cross-Device Development Themes and Apps] jmiller3342:
Does this work on any phone and rom?
[Sony Cross-Device Development Themes and Apps] Ticklefish:
Only if the rom uses exactly the same files in exactly the same APK to control the navigation bar size. And only if there's no other overlays already affecting that APK file.

So possibly but there's a chance it might not. Best thing to do is make a nandroid backup and try it out.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Yeah best do backup before installing but it shud work....
[Sony Cross-Device Development Themes and Apps] jmiller3342:
Do you have telegram?
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Nope... Sorry!
[Sony Cross-Device Development Themes and Apps] jmiller3342:
I was wondering if you code compile a frMeowkr res for athene
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Is athene a rom and yhu want to reduce tha nav bar size directly in tha framework-res.apk or wah do yhu want?
[Sony Cross-Device Development Themes and Apps] jmiller3342:
Nah. Athene is my device, have used apktool to try and change the size for stock rom. I have nougat, root, and ex kernel. But I can't get it working
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Is tha overlay not working? Upload yur framework-res.apk and lemme see please...
[Sony Cross-Device Development Themes and Apps] jmiller3342:
Sure. How should I upload it??
[Sony Cross-Device Development Themes and Apps] whalesplaho:
sure buddy & what size do yhu want?
[Sony Cross-Device Development Themes and Apps] jmiller3342:
0 please
[Sony Cross-Device Development Themes and Apps] whalesplaho:
0.0dip?

okay.... waiting for tha apk!
[Sony Cross-Device Development Themes and Apps] jmiller3342:
Kk. It isn't uploading.... Can I send you a Google drive link?
[Sony Cross-Device Development Themes and Apps] whalesplaho:
its okay brov......
[Sony Cross-Device Development Themes and Apps] jmiller3342:
Hang on

---------- Post added at 02:14 PM ---------- Previous post was at 02:10 PM ----------

https://drive.google.com/file/d/0B62zMa3U3cGAR2VfQ1pBWlUyVlE/view?usp=drivesdk

---------- Post added at 03:05 PM ---------- Previous post was at 02:14 PM ----------

Does this work?
[Sony Cross-Device Development Themes and Apps] whalesplaho:
i think tha best way is by using overlay... i got error while decompiling yur framework. i have made an overlay, yhu can just add to tha rom.... /system/vendor/overlay/

hope it works!
[Sony Cross-Device Development Themes and Apps] jmiller3342:
THANK YOU!!!
[Sony Cross-Device Development Themes and Apps] whalesplaho:
how is it buddy?
[Sony Cross-Device Development Themes and Apps] jmiller3342:
It doesn't work.....
[Sony Cross-Device Development Themes and Apps] whalesplaho:
sorry buddy.... i had error decompiling tha apk!
[Sony Cross-Device Development Themes and Apps] jmiller3342:
No worries!!!
[Sony Cross-Device Development Themes and Apps] Beetle84:
Working well on N too mate
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Good to hear dat....:highfive::good::victory:
[Sony Cross-Device Development Themes and Apps] acsway878787:
[MENTION=4471890]whalesplaho[/MENTION]

Could you help me for this?

My framework-res apk:

https://www.dropbox.com/s/q91od465qiy0jt2/framework-res.apk?dl=0

I want to change to 24dip, big appreciate:good:

And also can you tell me how you do this magic?

Thanks again!:highfive:
[Sony Cross-Device Development Themes and Apps] whalesplaho:
I can do brov.... Thanks for tha compliment!!

Will get back to yhu soon.
[Sony Cross-Device Development Themes and Apps] acsway878787:
But I found something strange.....

There's no /vender/overlay folder:(

How can I cope with this?
[Sony Cross-Device Development Themes and Apps] whalesplaho:
try brov; https://drive.google.com/file/d/0B6Q-veJIWV_GS2xhQ1ktcXNzOHc/view?usp=sharing
[Sony Cross-Device Development Themes and Apps] whalesplaho:
no worries brov...... just try tha one i posted, put in system/framework folder & fix permission!
[Sony Cross-Device Development Themes and Apps] Beetle84:
/System/vendor/overlay
[Sony Cross-Device Development Themes and Apps] acsway878787:
It didn't work......

I just have noticed this is a Sony Cross-Device thread,and I'm using Asus Padfone S....... How stupid I am:silly:

But I think modding this is even on every brand of phone?

I tried many times but they all turned into vain, frustrated.

Could you give me some points about this?
[Sony Cross-Device Development Themes and Apps] whalesplaho:
can yhu make it as a flashable zip & try.... which error did yhu get?

it doesnt mean, i edit res/values/dimens.xml

yhu ll see navigation_bar_height & width there... just reduce to yur choice!
[Sony Cross-Device Development Themes and Apps] acsway878787:
It didn't make any changes, just like before.

Are height and width have to have a fixed ratio, or I can edit just on my own?
[Sony Cross-Device Development Themes and Apps] Bewildered Wolf:
Hey bro [MENTION=4471890]whalesplaho[/MENTION]

can you give a guide or something how to do tgis navigation bar size mod ?
[Sony Cross-Device Development Themes and Apps] basikerton:
Thanks just what I needed, works perfect, Nougat 7.0 Z5P. Greetings.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Was having issues with my phone... Will do tonite and add here!

Buh i know yhu can decompile and recompile apk... So it shoudnt be hard.

Right?
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Happy yhu like it brov..... Thanks!
[Sony Cross-Device Development Themes and Apps] Bewildered Wolf:
Yeah. And i found it in framework-res.apk. but tell me how you made an overlay bro ?
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Okay buddy.... I made use of [MENTION=5097981]abo hani[/MENTION] template for mine, he made an overlay for keyboard theme den and asked for his permission to use also and he gave permission. But dere are some codes to change in tha overlay so as to make it tally with tha real app. I ll do analysis when on PC.

Sorry brov..
[Sony Cross-Device Development Themes and Apps] sceryavuz:
[MENTION=4471890]whalesplaho[/MENTION]

Easy way to change navbar size without Xposed :) I really like that :laugh:
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Thanks buddy.....:highfive:
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Thread udpated....

42dip

44dip

46dip added.
[Sony Cross-Device Development Themes and Apps] chitose_ndy:
Thank you for this mod!

Would you update the mod to 28, 26, 24 sizes?

Thank you bro!!
[Sony Cross-Device Development Themes and Apps] whalesplaho:
i ll update soon buddy...:highfive:
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Updated.....
[Sony Cross-Device Development Themes and Apps] chitose_ndy:
You are the man! Thanks!
[Sony Cross-Device Development Themes and Apps] Preob:
Excuse me would this work on Emui?
[Sony Cross-Device Development Themes and Apps] whalesplaho:
it should work.....
[Sony Cross-Device Development Themes and Apps] Preob:
Working :D just what I was looking for, thank you very much :)
[Sony Cross-Device Development Themes and Apps] whalesplaho:
happy it whats yhu needed.

endeavour to hit thanks button
[Sony Cross-Device Development Themes and Apps] Derickee Medvedev:
Work fine Z3 Compact 5.0.2 - 23.1.A.1.28. thanks
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Enjoy buddy......:highfive:
[Sony Cross-Device Development Themes and Apps] Derickee Medvedev:
Is there a possibility in version 4.4.4 ?
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Give a try buh backup first....
[Sony Cross-Device Development Themes and Apps] coconutxyz:
can i request a 0 dpi version?

editing buildprop doesnt work to remove the nav bar
[Sony Cross-Device Development Themes and Apps] whalesplaho:
try brov... hope it works!
[Sony Cross-Device Development Themes and Apps] coconutxyz:
Not working bro, thanks anyway
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Guess anything below 1 wont work....
[Sony Cross-Device Development Themes and Apps] coconutxyz:
I could try one haha
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Try brov....
[Sony Cross-Device Development Themes and Apps] coconutxyz:
Still can't, what is wrong with my device lol
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Did any version on OP works for yhu?
[Sony Cross-Device Development Themes and Apps] coconutxyz:
I only tried the lowest one, not working as well
[Sony Cross-Device Development Themes and Apps] whalesplaho:
I dnt understand buh all working good... No users complained bout not working!!!
[Sony Cross-Device Development Themes and Apps] Ticklefish:
There's a few possible reasons why this isn't working. It could be that there's already an overlay in use for the framework-res.apk as you can only have one active at a time. Or maybe the variable that's being changed isn't being used..
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Its possible their is another overlay in place cos framework-res.apk mostly uses same package name!
[Sony Cross-Device Development Themes and Apps] coconutxyz:
Probably that's because im using the concept rom for xperia x and not the stock one
[Sony Cross-Device Development Themes and Apps] whalesplaho:
If yhu can try with stock and see.....
[Sony Cross-Device Development Themes and Apps] boobass:
On Galaxy S8 work only on nougat. On Stock Oreo doesn't work.
[Sony Cross-Device Development Themes and Apps] Beetle84:
Try to unzip it and place the files manually at system/vendor/overlays and give permissions 0644 (r-w-r-r).

Still working on my Sony XZP on oreo.
[Sony Cross-Device Development Themes and Apps] javed2f:
Can u make it work for me.. I need 36 or 38 dpi.

Here is my framworkres

https://ufile.io/qh82x
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Try 35dip which is closed to 36dip... If it works den i ll make 36dip and 38dip.

Thanks...
[Sony Cross-Device Development Themes and Apps] javed2f:
Bro.. 35 dpi not working.. Navigation icons not aligned. So that i attached my framworkres.. Pls make 36 or 38..thanks.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Framework mostly doesn't required framework-res.apk to work cos tha package name is general but i ll take a look and see.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
[MENTION=3588016]javed2f[/MENTION] check oem/overlay/ and system/vendor/overlay/ and screenshot tha contents and upload for me please.
[Sony Cross-Device Development Themes and Apps] javed2f:
Pls find oem and system overlays
[Sony Cross-Device Development Themes and Apps] whalesplaho:
try dis 36dip and let me know whether it works fine or not...
[Sony Cross-Device Development Themes and Apps] javed2f:
Thanks for ur quick response.. But ur attached mod doesnot worked.. Same as before.. Anyway thanks again..
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Guess dia z a framworkres apk dahs intruding with tha ovetlay.....
[Sony Cross-Device Development Themes and Apps] peter.schwake@gmail.com:
This is a very useful mod. To use a overlay Instead of direct mod framework, is way smarter. Good bro, congratulations.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
thanks for your good words of encouragement....:victory::good:
[Sony Cross-Device Development Themes and Apps] balrajs99:
Good work [MENTION=4471890]whalesplaho[/MENTION] . Did you manage to get your clock color changed?. I've not tried but it seems like this should work.

<color name="status_bar_clock_color">#ffffffff</color>

you can find above in res/values/colors.xml in SystemUI. Change the hex color to something to support both light and dark status bar tints. Let me know how it goes. :good:

Sorry offtopic post. :silly::o

---------- Post added at 12:57 PM ---------- Previous post was at 12:19 PM ----------

How about a Substratum module for this one?. Easy to remove it without restoring anything and no need to tamper with system and no need to flash anything and easy to recover. ;)

Let me know [MENTION=4471890]whalesplaho[/MENTION] what do you think?. :silly:
[Sony Cross-Device Development Themes and Apps] whalesplaho:
yeah, been thinking of making a magisk module also but no idea yet but planning to check tha template thread. i do see some substratum themes dats for navigation icon alone too. yhu can do for size too?

i havent gotten around with the clock color yet, really confused cos i have checked but dnt get.
[Sony Cross-Device Development Themes and Apps] balrajs99:
Yes you can, that's just dimens editing or drawables changed right?
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Just dimens changing....

Navigation height

Navigation width

Navigation landscape too...
[Sony Cross-Device Development Themes and Apps] balrajs99:
Yes then, it can be definitely done using Substratum. ?
[Sony Cross-Device Development Themes and Apps] whalesplaho:
can we give a shot but in android manifest it must be having package name same with framework-res...
[Sony Cross-Device Development Themes and Apps] balrajs99:
So you made dimens changes in framework-res or SystemUI? let's take this pm now.
[Sony Cross-Device Development Themes and Apps] siliwangi:
Help me can you shared navbar 32dpi for cardinal-aosp for mi mix 2 oreo 8.1?
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Have yhu tried any of dis mod whether it ll work?
[Sony Cross-Device Development Themes and Apps] siliwangi:
I've tried everything but nothing works on my mix, I really need help here,
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Post yur framework-res related files.... Will try to help!!!
[Sony Cross-Device Development Themes and Apps] siliwangi:
This is my overlay ,. Thanks for help me,.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
I ll check but post me the original one....
[Sony Cross-Device Development Themes and Apps] shaunoleary:
Thank you so much for this. I have been hunting around like crazy for a way to do this on LineageOS 14.1 on my ageing Nexus 7 (2012) and my Nexus 5, and this is the only mod that worked without any issues!

I am using the 24dpi mod, and it is achieving just what I needed - making the navbar small and out of the way, without it becoming ridiculously small. Other mods I tried like Substratum messed up the theme I am using.

I have slightly reduced my screen DPI to force tablet apps to run in "phone" mode, and doing this caused the navbar to become HUGE. This fixed it. Great job; thanks again.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Im happy yhu like it bro... Thanks for yur kind words!
[Sony Cross-Device Development Themes and Apps] javed2f:
Can u make overlay to hide nav bar.
[Sony Cross-Device Development Themes and Apps] karrouma:
Not working with pie??
[Sony Cross-Device Development Themes and Apps] Ticklefish:
That's a bit more complicated. You could try changing the height in the overlay APK to 0.0dip (or 0.1 or similar), which might work.

Or you can edit your build.prop and add the line "qemu.hw.mainkeys=1" to it. That should stop the nav bar from showing.

The best way to find it is to try it and see what happens.

If it doesn't work, it may be that you have another overlay file in the folder that's already affecting your framework-res.apk...or your nav bar height is stored in another way. We'd need to find what the way is to create something that works.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
[MENTION=4315551]Ticklefish[/MENTION] thanks for yur unending support bro...
[Sony Cross-Device Development Themes and Apps] Ticklefish:
Always happy to help!
[Sony Cross-Device Development Themes and Apps] karrouma:
Thank you friend

I will check my overlay files
[Sony Cross-Device Development Themes and Apps] Pandemic:
It works bro [MENTION=5327840]karrouma[/MENTION] ?
[Sony Cross-Device Development Themes and Apps] Ticklefish:
So it's probably another overlay file causing a conflict. That's my initial theory anyway.
[Sony Cross-Device Development Themes and Apps] JDC2389:
Would love to see this supported for pie, Xposed only gives bootloops on sonys ART 8.0 and pie has no xposed. Please make it happen guys.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Have yhu tried yet!?
[Sony Cross-Device Development Themes and Apps] JDC2389:
Yep no change on xz1c pie
[Sony Cross-Device Development Themes and Apps] karrouma:
tried to delete all overlay

restart

flashing via trwp or manually not working with pie
[Sony Cross-Device Development Themes and Apps] Ticklefish:
If your rom is rooted you should be able to edit the framework-res.apk directly and make this change yourself.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Maybe yhu can upload yur framework-res.apk i ll try....
[Sony Cross-Device Development Themes and Apps] karrouma:
Here we go
[Sony Cross-Device Development Themes and Apps] whalesplaho:
I ll get back to it yhu soon.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Sorry im late... Try dis bro!
[Sony Cross-Device Development Themes and Apps] JDC2389:
edit: yeah I was wrong it didn't work, I'll try what karrouma suggested first, then upload mine if it doesn't work.
[Sony Cross-Device Development Themes and Apps] karrouma:
Working now but copying the oem overlay manually

From flashable didn't find it
[Sony Cross-Device Development Themes and Apps] whalesplaho:
thanks for tha feedback. guess tha flashable zip installer is outdated!

please can yhu help with updated flashable zip installer for Oreo/Pie [MENTION=4315551]Ticklefish[/MENTION].

off topic: also i noticed dat whenever i mod my systemui.apk on Nokia 8 Oreo 8.1, it compiles successfully but after flashing on tha fone, my wont show lockscreen and just a blank screen..... please any idea @ ticklefish?
[Sony Cross-Device Development Themes and Apps] whalesplaho:
try copying manually and fixing permission....
[Sony Cross-Device Development Themes and Apps] JDC2389:
Yeah I copied/set permissions and it didn't work buddy, I figured out karrouma has an xz1 and I have an xz1c, here's my framework.res
[Sony Cross-Device Development Themes and Apps] Ticklefish:
If the ZIP didn't work I'd need to know what the actual problem was. Was there an error message? If so what was it? What actually happened?

You're welcome to try the ZIP that comes with Tickle My Android. That's a known good that works on Oreo and Pie.

I've also used it in my deodexing tool and that works on Oreo and Pie as well.

As for the issues with modding SystemUI.apk, this could be done to so many things. It all depends on your precise process.

Try decompiling and recompiling the file without any changes, making sure to keep the same signature, then see if that flashes correctly.

If it does then you need to look at the mods you were doing.

If it doesn't then we have to look at the process you used.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
it doesnt really matter buddy, so far its same os den it should work!

how did yhu copy/set permission?
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Okay bro, i ll do exactly as yhu said and see. i ll try TMA first!

thanks.
[Sony Cross-Device Development Themes and Apps] JDC2389:
Hmm, nah it didn't work for some reason, I used root explorer and set it the right way on permissions, reboot and no dice.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
I mean where yhu copied it to?

was is just system/vendor/overlay/ or /oem/overlay/
[Sony Cross-Device Development Themes and Apps] JDC2389:
I thought it needed both, so I copied both haha.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
Yeah both... Np!

I ll take a look at yur framework-res.apk and see what i can do.
[Sony Cross-Device Development Themes and Apps] JDC2389:
Thanks
[Sony Cross-Device Development Themes and Apps] whalesplaho:
try dis buddy.... report back!
[Sony Cross-Device Development Themes and Apps] JDC2389:
No dice
[Sony Cross-Device Development Themes and Apps] whalesplaho:
I really dnt know whats wrong?

Are yhu sure yhu dnt have any other overlays dahs modifies tha framework!?
[Sony Cross-Device Development Themes and Apps] JDC2389:
Idk what the deal is but maybe the stock rom comes with some overlays I can delete I need advice, here are the screens.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
cut frameworks-overlay-100-release.apk and put it in your internal memory and rerstart lets see. dnt delete it so incase yhu need it back!
[Sony Cross-Device Development Themes and Apps] JDC2389:
Welp I tried that, now I'm boot looping :[ e: I managed to get the file back and I'm up and running again.
[Sony Cross-Device Development Themes and Apps] whalesplaho:
wooooooooppppsss...... guess tha framework file is needed bro. if yhu can recover tha fone back from bootlooping, upload tha framework overlay and i ll mod it bro!

to boot tha fone up, boot to recovery, goto file manager, locate where yhu copied tha file to and copy back to its default location and fix permission (0644) and reboot... it should boot up!