I'm currently on cleanrom and my navbar is just to big. One of my favorite things about viper was the ability to adjust the height. I haven't found a way to do that in cleanrom without breaking ART by enabling closed, which I really don't want to do.
Anyone know of any apps or edits I can do to change this?
Most likely it would be in SystemUI.apk in the dimens.xml file
Sent from my Blood Red HTC One M8
icedventimocha said:
Most likely it would be in SystemUI.apk in the dimens.xml file
Sent from my Blood Red HTC One M8
Click to expand...
Click to collapse
+1 this, or maybe the blinkfeedlauncher.apk or the framework-res.apk
andybones said:
+1 this, or maybe the blinkfeedlauncher.apk or the framework-res.apk
Click to expand...
Click to collapse
If you install Xposed Framework, the Sense 6.0 Toolbox has this as an option. I ran it for a while, but decided I was okay with the default navbar size.
Dimensions Editor using the exposed framework also resizes the navbar, and the statusbar. Not just a fixed dimension like Sense 6 Toolbox. It is still in experimental stage, so you may have to change setttings in exposed to find it, but I have been running it for nearly a month now flawlessly on Bonestock Rom.
Delete
Delete
All4TheFam said:
Dimensions Editor using the exposed framework also resizes the navbar, and the statusbar. Not just a fixed dimension like Sense 6 Toolbox. It is still in experimental stage, so you may have to change setttings in exposed to find it, but I have been running it for nearly a month now flawlessly on Bonestock Rom.
Click to expand...
Click to collapse
Thanks, but Xposed isn't currently compatible with ART, which I'm very fond of. I'm hoping there is some sort of build.prop tweak that will make this possible, but its not looking lime there is.
Lykarsis said:
Thanks, but Xposed isn't currently compatible with ART, which I'm very fond of. I'm hoping there is some sort of build.prop tweak that will make this possible, but its not looking lime there is.
Click to expand...
Click to collapse
Nav bar edits can be done decompile the systemui.apk from system/private-app/
Under the res/layout/navigation_bar.xml
Would be the location to look to make any changes
sent from space
Related
I've asked a few people and searched like crazy with no real answer so I'm hoping someone can point me in the right direction. I'm running Calk's HD rom and it's awesome. I would just prefer a 4 row app drawer as opposed to the 5 it comes with. Is there an easy way to change this? I haven't been able to locate the setting in the rosie.apk. Any help would be greatly appreciated.
What if you use adw launcher? You can change it from 3 to 8.
http://www.appbrain.com/app/adw-launcher/org.adw.launcher
Oh wait I think he is using adw, well then go to settings, adw launcher settings, screen preferences, under desktop layout change the Desktop Columns from 5 to 4.
Thanks. I'm referring to sense though. I should have specified. I know how to do it with adw and launcherpro. I wish it were that easy in sense.
Get to duh choppa!
ah crap, sorry
You need to decompile your Rosie.apk and change the "5" value in the all_apps_view.xml (its actually titled something like that) to a "4". Then you will need to recompile and flash.
ericwgarza1 said:
You need to decompile your Rosie.apk and change the "5" value in the all_apps_view.xml (its actually titled something like that) to a "4". Then you will need to recompile and flash.
Click to expand...
Click to collapse
Thanks so much. It looks like to do this the xml would need to be converted first or done with hex editing. Way beyond my skill. But I'm going to trying recompiling the apk using the all_apps_view.xml from a different rosie with a 4 app drawer. I'll post my results.
That didn't work. Not sure the setting lives there. The rom I grabbed the all_apps_view.xml file from has an opaque app drawer, calk's has transparent. After compiling the rosie with the new xml file and rebooting, I still had a 5 row app drawer but the background was opaque.
DeathBySnuggles said:
That didn't work. Not sure the setting lives there. The rom I grabbed the all_apps_view.xml file from has an opaque app drawer, calk's has transparent. After compiling the rosie with the new xml file and rebooting, I still had a 5 row app drawer but the background was opaque.
Click to expand...
Click to collapse
there are 3 changes to be made.... one is the one u were given already.
keep in mind that u MUST decompile cuz it changes things inside the resources.arsc file
the second one is inside values/integer.xml
change
Code:
<integer name="allprogram_grid_columns">5</integer>
to have the value 4 instead of 5.
and in values/dimens.xml change
Code:
<dimen name="all_program_grid_view_horizontal_spacing">1.0dip</dimen>
to have the value 6.0dip.
that should work.
good luck.
edit:
just saw u said u using the HD rom... i was referring to the a non HD rosie... so although it should still be the same thing, it might not be... so keep that in mind in case it wont work... but thats how u would do it for the regular Rosie.
aamikam said:
there are 3 changes to be made.... one is the one u were given already.
keep in mind that u MUST decompile cuz it changes things inside the resources.arsc file
the second one is inside values/integer.xml
change
Code:
<integer name="allprogram_grid_columns">5</integer>
to have the value 4 instead of 5.
and in values/dimens.xml change
Code:
<dimen name="all_program_grid_view_horizontal_spacing">1.0dip</dimen>
to have the value 6.0dip.
that should work.
good luck.
edit:
just saw u said u using the HD rom... i was referring to the a non HD rosie... so although it should still be the same thing, it might not be... so keep that in mind in case it wont work... but thats how u would do it for the regular Rosie.
Click to expand...
Click to collapse
Ok, that's a little over my head considering I don't even see the xml files you're referring to. I'm only able to play with what I can see by unpacking the apk using simple methods. Changing the all_apps_view file changed the drawer background, which is undesired. If I simply swap out the the full rosie.apk from the other rom, I can achieve the 4 row drawer with the opaque background but I'm looking to retain the translucent. So, perhaps it's easier to start with the other rosie with the opaque background and modify that to have a translucent background? Can using the original all_apps_view accomplish this or is there an easier way?
DeathBySnuggles said:
Ok, that's a little over my head considering I don't even see the xml files you're referring to. I'm only able to play with what I can see by unpacking the apk using simple methods. Changing the all_apps_view file changed the drawer background, which is undesired. If I simply swap out the the full rosie.apk from the other rom, I can achieve the 4 row drawer with the opaque background but I'm looking to retain the translucent. So, perhaps it's easier to start with the other rosie with the opaque background and modify that to have a translucent background? Can using the original all_apps_view accomplish this or is there an easier way?
Click to expand...
Click to collapse
U wont see those xmls unless u decompile man... that's why I said u have to do it.
U using calk hd? Right?
Ill make u one real quick.
aamikam said:
U wont see those xmls unless u decompile man... that's why I said u have to do it.
U using calk hd? Right?
Ill make u one real quick.
Click to expand...
Click to collapse
Yeah I'm running calk's HD. Thanks man. I was just getting ready to try another frankenstein rosie.
DeathBySnuggles said:
Yeah I'm running calk's HD. Thanks man. I was just getting ready to try another frankenstein rosie.
Click to expand...
Click to collapse
here u go... let me know how it worked.
aamikam said:
here u go... let me know how it worked.
Click to expand...
Click to collapse
Absolutely perfect! Thank you so much. Donation sent. (well, sent before I knew it worked just for the effort but double bonus that it does!) Why can't sense be as configurable as lp or adw?
Thanks again.
DeathBySnuggles said:
Absolutely perfect! Thank you so much. Donation sent. (well, sent before I knew it worked just for the effort but double bonus that it does!) Why can't sense be as configurable as lp or adw?
Thanks again.
Click to expand...
Click to collapse
thank you very much.
This guide assumes you already know how to use apktool and use latest 1.52 version. If you don`t, there are plenty of guides already on XDA.
Latest Sense 5 com.htc.resources.apk and apktool are not great friends. Actually there is a long history of compile issues with this file, but also I managed to fix it usually in the past. I stumbled about some theme threads, who were correctly complaining, that they can`t fully finish their work, since many essentially stuff in HTC`s framework can`t be themed, since com.htc.resources.apk can`t be compiled and as a result many color themes remain incomplete.
So I had a quick look and here is the workaround, which is tested and works.
For those having other apktool issues, it also might pay off looking in my One S apktool issues thread, maybe you will find some ideas to solve other problems.
http://forum.xda-developers.com/showthread.php?t=1642224
Credits:
brut for his awesome apktool
hdneuling for being a great tester and guy
1. First thing you will recognize, when decompiling the "nice" way, apktool will miserably fail. So let`s be the bad guy and brute force decompile
2. Decompile com.htc.resources apk with the following:
PHP:
java -jar apktool.jar d --keep-broken-res com.htc.resources.apk com.htc.resources-decoded
This ignores all errors and decompiles the apk
3. Since the real issues here in reality are only very minor dimens decompile problems, you can now simply delete all unneeded folders with an ERR at the end.
4. Make all necessary edits
5. Now compile the apk as usual, there are different ways to do it - I compile with
PHP:
java -jar apktool.jar b com.htc.resources-decoded
6. Flash and enjoy your work
Good job
Had to look into it, Helmut was desperate
Great Job, and o.k., feeling guilty now :silly:
LG, Helmut
One thing we noticed when putting together our tranquility rom was that any com.htc.resources, sense 4 and after, was that even when it could be decompiled it was better to hex edit. It caused issues with the rom. The dialer and battery life were affected. There were other performance issues also.
Sent from my HTC6435LVW using xda premium
fernando sor said:
One thing we noticed when putting together our tranquility rom was that any com.htc.resources, sense 4 and after, was that even when it could be decompiled it was better to hex edit. It caused issues with the rom. The dialer and battery life were affected. There were other performance issues also.
Sent from my HTC6435LVW using xda premium
Click to expand...
Click to collapse
Yep font size was stuck at medium aswell no matter what we set it to
i´m running a pretty heavy edited com.htc.resources.apk on my One since yesterday and didnt notice and afaik he_stheone did the same since yesterday.
Of course we have to have a look at "maybe problems", but it´s good to have a solution to de/compile it now i think
LG, Helmut
fernando sor said:
One thing we noticed when putting together our tranquility rom was that any com.htc.resources, sense 4 and after, was that even when it could be decompiled it was better to hex edit. It caused issues with the rom. The dialer and battery life were affected. There were other performance issues also.
Sent from my HTC6435LVW using xda premium
Click to expand...
Click to collapse
Hi Fernando, we will watch behavior going forward on Sense 5. So far we still could not find negative side effects. But we surely keep an eye on it.
Sent from my HTC ONE - powered by TrickDroid
Nice work, thanks for sharing. Have to say, you and Helm are really blazing the way with One theming!
Did try this approach with the Sense4.5 resources, could never get the apk to compile after deleting the _ERR folders, but I'll definitely give it a try with Sense5
Fisha, where are you?
We need your skills on the One :fingers-crossed:
LG, Helmut
hd2neuling said:
Fisha, where are you?
We need your skills on the One :fingers-crossed:
LG, Helmut
Click to expand...
Click to collapse
Nah, you guys are doing a great job. I'm enjoying just being a user for now
he_stheone64 said:
Hi Fernando, we will watch behavior going forward on Sense 5. So far we still could not find negative side effects. But we surely keep an eye on it.
Sent from my HTC ONE - powered by TrickDroid
Click to expand...
Click to collapse
Haha yes those of you lucky enough to have the phone! 8 days for me.
Sent from my HTC6435LVW using xda premium
Small Update:
Was running 4 different edited versions com.htc.resouces.apk, until yet, and no problems noticed, of course i´m still watching on it :fingers-crossed:
LG, Helmut
hd2neuling said:
Small Update:
Was running 4 different edited versions com.htc.resouces.apk, until yet, and no problems noticed, of course i´m still watching on it :fingers-crossed:
LG, Helmut
Click to expand...
Click to collapse
That's awesome. Hex editing is not as fun.
Sent from my HTC6435LVW using xda premium
First off, Nice find!! So far the only ill effect I'm noticing is the fonts in settings/display, gestures and buttons doesn't function properly. it changes the font size in certain areas but not system wide like it should. this is the same error we had before, and maybe its because im using the port rom for Evo LTE. I'm looking into it but we couldn't find a resolve for this before.
double post.
steal25 said:
First off, Nice find!! So far the only ill effect I'm noticing is the fonts in settings/display, gestures and buttons doesn't function properly. it changes the font size in certain areas but not system wide like it should. this is the same error we had before, and maybe its because im using the port rom for Evo LTE. I'm looking into it but we couldn't find a resolve for this before.
Click to expand...
Click to collapse
Just to confirm, this is also the case on the One ROMs themselves as well, not just limited to ports.
To see it clearly, just go into Settings/Display, Gestures and Buttons, and try flicking between small and extra large fonts. When you go back out into the main Settings menu, the font size doesn't change as expected.
Did try to get around this by compiling the images, and dragging them into the stock resources apk. If you do this without renaming some of the 9.pngs back into r.9.pngs, you get SysUI FC, and a messed up lockscreen. With those corrections made, everything boots fine, but Dialer FCs and several Settings menu options also FC.
Next thing to try is using villaintheme to insert the altered pngs directly on-device....
Edit: yup, using villaintheme seems to give the best result. No app FCs and no text resizing issue. Just means we still need to hex edit to change any of the values xmls.
At least the recompile workaround gives us a way to easily test resource edits. Thanks again for the heads up!
fisha21 said:
Just to confirm, this is also the case on the One ROMs themselves as well, not just limited to ports.
To see it clearly, just go into Settings/Display, Gestures and Buttons, and try flicking between small and extra large fonts. When you go back out into the main Settings menu, the font size doesn't change as expected.
Did try to get around this by compiling the images, and dragging them into the stock resources apk. If you do this without renaming some of the 9.pngs back into r.9.pngs, you get SysUI FC, and a messed up lockscreen. With those corrections made, everything boots fine, but Dialer FCs and several Settings menu options also FC.
Next thing to try is using villaintheme to insert the altered pngs directly on-device....
Edit: yup, using villaintheme seems to give the best result. No app FCs and no text resizing issue. Just means we still need to hex edit to change any of the values xmls.
At least the recompile workaround gives us a way to easily test resource edits. Thanks again for the heads up!
Click to expand...
Click to collapse
no problem, Ive dug in settings and com.htc.resources and see no link in the two. Not arrays, dimens, nothing. all the arrays and sizes for the different fonts are in settings so i dont understand why that would be affected. If i find afix/workaraound ill post it here.
Noticed the fontsize-problem before de/compiling com.htc.resources.apk too, dont know if it works on Stock because i never booted Stock ^^
Besides this, my edited com.htc.resources.apks are still working without problems, even with ROMs based on 1.29.401.1/2
LG, Helmut
This will no doubt come in handy. Thanks
Sent from my HTC One using Tapatalk 2
Ah, I know, I might get killed, but is there a way to get HTC Sense StatusBar Icons (network, wlan, battery) to the N5? I liked them a lot on my HTC devices and miss them now.
http://www.cultofandroid.com/28529/top-10-icon-packs-for-nova-apex-go-launcher/
Do people really find it difficult to Google?
abtekk said:
http://www.cultofandroid.com/28529/top-10-icon-packs-for-nova-apex-go-launcher/
Do people really find it difficult to Google?
Click to expand...
Click to collapse
He is talking about status bar icons, not the app icons.
Moosach said:
Ah, I know, I might get killed, but is there a way to get HTC Sense StatusBar Icons (network, wlan, battery) to the N5? I liked them a lot on my HTC devices and miss them now.
Click to expand...
Click to collapse
There is a way, but it would look really weird with the other parts of stock android. All you have to do is decompile the HTC systemui.apk and the N5 apk, then swap all the status bar PNGs.
Moosach said:
Ah, I know, I might get killed, but is there a way to get HTC Sense StatusBar Icons (network, wlan, battery) to the N5? I liked them a lot on my HTC devices and miss them now.
Click to expand...
Click to collapse
xposed and ex-themer module has the wifi icon if that helps at all
gravitybox has some icons too but not specific HTC ones....
Alex4utm said:
He is talking about status bar icons, not the app icons.
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.gekn.theme.Sense5
Again, Google.
abtekk said:
https://play.google.com/store/apps/details?id=com.gekn.theme.Sense5
Again, Google.
Click to expand...
Click to collapse
Hi,
And you need a rom with Theme Chooser, maybe the OP don't want to flash a rom like CM..., for sure it will be more difficult.
viking37 said:
Hi,
And you need a rom with Theme Chooser, maybe the OP don't want to flash a rom like CM..., for sure it will be more difficult.
Click to expand...
Click to collapse
But he didn't state what ROM he had. He only asked how he could get sense icons.
Hey, thanks everybody for the suggestions. I'm running stock 4.4.2 and want to stay there. Xposed and Gravity serves all my modding needs. I will have a look to ex-themer. Another launcher is no option though. My N5 runs so stable and smooth (far far better than my previous HTCs with multiple custom roms). Maybe I really should extract the icons from the UI app. Only question is what happens with scaling.
Moosach said:
Hey, thanks everybody for the suggestions. I'm running stock 4.4.2 and want to stay there. Xposed and Gravity serves all my modding needs. I will have a look to ex-themer. Another launcher is no option though. My N5 runs so stable and smooth (far far better than my previous HTCs with multiple custom roms). Maybe I really should extract the icons from the UI app. Only question is what happens with scaling.
Click to expand...
Click to collapse
Nothing happens because both phones are XXHDPI. You have to get the images from the HTC One or another HTC phone with a 1080p screen. You should try it, but make a backup so if it doesn't work you don't have to flash the entire factory image.
Is there anyway possible to change the DPI before we obtain root?
Thanks!
Sent from my HTC6525LVW using Tapatalk
No, you would need to edit build.prop afaik that is the only way. We have root now, but only /system/xbin is writable so I am not sure if you can change dpi, I will test it out.
You always need root regardless of the methods. But you can do it with the root currently available to the m8. Via xposed and app settings.
HughesNet said:
You always need root regardless of the methods. But you can do it with the root currently available to the m8. Via xposed and app settings.
Click to expand...
Click to collapse
Is there a way to change the Sense UI DPI with app launcher? I'd like the notification and status bar to be smaller if possible
d1ez3 said:
Is there a way to change the Sense UI DPI with app launcher? I'd like the notification and status bar to be smaller if possible
Click to expand...
Click to collapse
Probably. Though I don't use that launcher. I notice that launcher is called Blinkfeed. so if you change the DPI of HTC Blinkfeed it will probably effect the launcher.
I use Nova so I just change the DPI of Nova for the same effect. I don't like the limited number of dock spaces in the blinkfeed launcher and I honestly have no use for blinkfeed itself.
HughesNet said:
Probably. Though I don't use that launcher. I notice that launcher is called Blinkfeed. so if you change the DPI of HTC Blinkfeed it will probably effect the launcher.
I use Nova so I just change the DPI of Nova for the same effect. I don't like the limited number of dock spaces in the blinkfeed launcher and I honestly have no use for blinkfeed itself.
Click to expand...
Click to collapse
I use nova as well, I changed the dpi on that and like the look. I just need the statusbar icons and text to be smaller since everything overlaps for me from the abundance of icons I have shown. I'll look into app settings to see if that can be modified
d1ez3 said:
I use nova as well, I changed the dpi on that and like the look. I just need the statusbar icons and text to be smaller since everything overlaps for me from the abundance of icons I have shown. I'll look into app settings to see if that can be modified
Click to expand...
Click to collapse
It can. Android System I believe. Mine are nice and tiny. To see it you have to reboot though. Just be sure it is a soft reboot.
HughesNet said:
It can. Android System I believe. Mine are nice and tiny. To see it you have to reboot though. Just be sure it is a soft reboot.
Click to expand...
Click to collapse
ah that did it, 400 dpi, looks beautiful now. Only thing I want left is reply button in notification for stock sms
d1ez3 said:
ah that did it, 400 dpi, looks beautiful now. Only thing I want left is reply button in notification for stock sms
Click to expand...
Click to collapse
I use 360 myself. Only thing I want personally is a transparent theme
HughesNet said:
I use 360 myself. Only thing I want personally is a transparent theme
Click to expand...
Click to collapse
You must have really good eyesight
I'm running at 410 I think and it is great. Finally I have a sensible dpi for a 5 inch screen.... it looks like a toy at 480dpi what is HTC or anyone else thinking?! Too bad sense gets little bugs when you change the dpi. e.g notifications are slightly cut off on the bottom until expanded.
123421342 said:
I'm running at 410 I think and it is great. Finally I have a sensible dpi for a 5 inch screen.... it looks like a toy at 480dpi what is HTC or anyone else thinking?! Too bad sense gets little bugs when you change the dpi. e.g notifications are slightly cut off on the bottom until expanded.
Click to expand...
Click to collapse
My swype keyboard also doesn't fit on my screen anymore after changing android system dpi, I have to use the sense keyboard for now
HughesNet said:
You always need root regardless of the methods. But you can do it with the root currently available to the m8. Via xposed and app settings.
Click to expand...
Click to collapse
Which xposed app?
Sent from my HTC6525LVW using xda app-developers app
S121Guy said:
Which xposed app?
Sent from my HTC6525LVW using xda app-developers app
Click to expand...
Click to collapse
I stated which app.
Can I ask how you guys are editing the dpi? I have tried using a couple different methods that I have always used but since you have to reboot in order for the change to take effect, it isn't working. I'm using nova and obviously the weak sauce root.
hellfire bro said:
Can I ask how you guys are editing the dpi? I have tried using a couple different methods that I have always used but since you have to reboot in order for the change to take effect, it isn't working. I'm using nova and obviously the weak sauce root.
Click to expand...
Click to collapse
xposed->appsettings-> change dpi of android system to whatever, I use 410. Save, soft reboot in xposed.
d1ez3 said:
My swype keyboard also doesn't fit on my screen anymore after changing android system dpi, I have to use the sense keyboard for now
Click to expand...
Click to collapse
The HTC keyboard doesn't have that issue and also supports swipe. I agree that is annoying though. It is all temporary though till we get S-off which shouldnt be long now.
123421342 said:
xposed->appsettings-> change dpi of android system to whatever, I use 410. Save, soft reboot in xposed.
Click to expand...
Click to collapse
Ah . Ok going to do that now. Thanks!
HughesNet said:
You always need root regardless of the methods. But you can do it with the root currently available to the m8. Via xposed and app settings.
Click to expand...
Click to collapse
You are the man. Took a while to set all my apps, but now I'm running 360dpi everywhere. Looks great.
Only small glitch I've noticed is with the dialer.
Sent from my HTC6525LVW using Tapatalk
HughesNet said:
I stated which app.
Click to expand...
Click to collapse
Didnt know there was one called app settings, lol. Tiik me a few hrs to figure it out. Thought i was just dealing with an ass at first. Tnks
Sent from my HTC6525LVW using xda app-developers app
So ATM I use Wanam Kit for one and only one thing. Which is to move my status bar clock to the left. I also have gravitybox installed and I'm on cyanogenmod 11 M9 lol but they all only give the option to hide the clock or center it. Now yesterday I saw someone talking about a way to edit something so you could permanently center the status bar clock. I was hoping someone could tell me how to do the same but to place it on the left. This way I can uninstall an entire xposed module pact with functions I don't use! Thanks
Dracrius said:
So ATM I use Wanam Kit for one and only one thing. Which is to move my status bar clock to the left. I also have gravitybox installed and I'm on cyanogenmod 11 M9 lol but they all only give the option to hide the clock or center it. Now yesterday I saw someone talking about a way to edit something so you could permanently center the status bar clock. I was hoping someone could tell me how to do the same but to place it on the left. This way I can uninstall an entire xposed module pact with functions I don't use! Thanks
Click to expand...
Click to collapse
Decompile SystemUI/framework and modify it, or change it before building from source.
Lethargy said:
Decompile SystemUI/framework and modify it, or change it before building from source.
Click to expand...
Click to collapse
OK perfect but what would I be changing I wouldn't even know where to begin to start to look. I know some basic java from a couple years of college but I've never modded or coded for android yet.
Sent from my Nexus 5
Dracrius said:
OK perfect but what would I be changing I wouldn't even know where to begin to start to look. I know some basic java from a couple years of college but I've never modded or coded for android yet.
Sent from my Nexus 5
Click to expand...
Click to collapse
Numerous guides can be found if Google'd
Yup. I've done this mod myself before. Google "center clock mod android" and variations of the like and you'll find some tuts. It's going to be an XML file, probably status_bar.xml which I believe is in res/layout. If you're not familiar with decompiling, editing and recompiling APK files it's going to take you a while but it's worth to know how to do it anyway.