[MOD] CM10.1 Navigation Bar Height - Xperia Z Themes and Apps

Hey Guys,
Can't really seem to find any topics on this, I like my navigation bar at 36px running DPI of 320.
I decompiled / recompiled framework-res.apk for cm-10.1-20130609-NIGHTLY and named the zip accordingly and made a flashable CWM zip.
I'm not sure if it will work on newer builds or not though, but is working fine on currently nightly.
Warning: Backup your current /system/framework/framework-res.apk just in case something does go wrong.
Update: Added them to Google Drive (stock 48px and 36px) link is here.
Updates
11/06/2013 - cm-10.1-20130610-navbar-36px

Juzman said:
Hey Guys,
Can't really seem to find any topics on this, I like my navigation bar at 36px running DPI of 320.
I decompiled / recompiled framework-res.apk for cm-10.1-20130609-NIGHTLY and named the zip accordingly and made a flashable CWM zip.
I'm not sure if it will work on newer builds or not though, but is working fine on currently nightly.
Warning: Backup your current /system/framework/framework-res.apk just in case something does go wrong.
Click to expand...
Click to collapse
whats the default dpi? 48?

spazzy1912 said:
whats the default dpi? 48?
Click to expand...
Click to collapse
Default DPI is 480. The DPI really has nothing to do with it.
The stock px for the navigation bar is 48px.

Juzman said:
Default DPI is 480. The DPI really has nothing to do with it.
The stock px for the navigation bar is 48px.
Click to expand...
Click to collapse
sorry i went braindead LOL
yeah, that's what i meant, thanks

Related

[Q] Need to locate these files? Help please

Hi i would like some help which would be nice from any Theme Creator or Dev because they will probably know where to look.
So can anyone tell me which files need to be changed to make the volume & brightness bars in quicksettings pulldown bar to change the bar color? i have changed the color via framework, system ui or htc res, rosie, settings files but.... not sure which files i changed in what location that did that?
Also which file do i need to locate to change the button pressed on the home screen? Cause i wanna get rid of the green sense look to my phone, my phone is looking pretty modded & i know how to use Photoshop to change PNGs & know how to mod APKs too.
Any help would be great i have tried the search bar on here & also in google but didnt get any results & to be honest i know people on XDA will know this.... thanks in advance
The progress bar color in quick settings is defined by this file: common_progress_full.9.png (in SystemUI.apk/res/drawable-hdpi)
Are you using a Gingerbread 2.3.5 or Sense 3.5 rom? If yes, the button press color in the homescreens can't be changed. At the moment all available tools fail with decoding the images.
In Sense 2.1, you have to edit Rosie.apk. For Sense 3 (+ GB 2.3.3 or .4), fusion.apk has to be edited with m10 tool.
I can give you more details if you want to.
Thanks
Thanks for that but i cant locate it in my system ui/res/drawable-hdpi? i tried looking in htc/rs/draw-hdpi too? cant find that common_progress_full.9.png? could you check again for me or if have time upload the file? i cant see why it would be missing though?
I havent had a chance to mess with the m10 editor? is it easy enough to use when editing the fusion.apk?
I love XDA.... its the best for phone modding & has many helpful members
sigurd_LU said:
The progress bar color in quick settings is defined by this file: common_progress_full.9.png (in SystemUI.apk/res/drawable-hdpi)
Are you using a Gingerbread 2.3.5 or Sense 3.5 rom? If yes, the button press color in the homescreens can't be changed. At the moment all available tools fail with decoding the images.
In Sense 2.1, you have to edit Rosie.apk. For Sense 3 (+ GB 2.3.3 or .4), fusion.apk has to be edited with m10 tool.
I can give you more details if you want to.
Click to expand...
Click to collapse
I have changed the button press & also found the common_progress_full.9.png from another rom but if you or anyone else can post your common_progress_full.9.png (in SystemUI.apk/res/drawable-hdpi) so i can try there one cause the progress bar isnt looking normal? it looks mis-shapen? Thanks again
What Rom are you using? Could you upload your SystemUI, so I can take a look
sigurd_LU said:
What Rom are you using? Could you upload your SystemUI, so I can take a look
Click to expand...
Click to collapse
I am running LeeDroid 3.3.3 but with sense add-on & my own custom red or colored icons & look! I uploaded my Sys UI, take a look for me? but i dont think i it will work? it maybe something to do with the rosie? my bars in quick settings dont look solid any more, i can live with it though, pics attached.
deanr1977 said:
I am running LeeDroid 3.3.3 but with sense add-on & my own custom red or colored icons & look! I uploaded my Sys UI, take a look for me? but i dont think i it will work? it maybe something to do with the rosie? my bars in quick settings dont look solid any more, i can live with it though, pics attached.
Click to expand...
Click to collapse
Your issue us a bad. 9.PNG it looks like you tried to edit it without decompiling the apk and running the new image threw the draw9patch tool
zelendel said:
Your issue us a bad. 9.PNG it looks like you tried to edit it without decompiling the apk and running the new image threw the draw9patch tool
Click to expand...
Click to collapse
what would you recommend i do? is there a solution or is it stuck this way for good?
I have a similar problem for the common progress bar which im assuming is in framework. I have decompiled, changed images, recompiled but the images are still default green.
Im baffled...
Any theme guru out there to advise...?
Does anyone know which is the location. png for a change in the transparent dock that is rosie navi bar?
goran60 said:
Does anyone know which is the location. png for a change in the transparent dock that is rosie navi bar?
Click to expand...
Click to collapse
be a little more specific on what your using(rom, sense version,etc.)
rayford85 said:
be a little more specific on what your using(rom, sense version,etc.)
Click to expand...
Click to collapse
He wants a fully transparent rosie for RCMix Runny. I have something for you Have a look in my thread: http://forum.xda-developers.com/showthread.php?t=1291351
sigurd_LU said:
He wants a fully transparent rosie for RCMix Runny. I have something for you Have a look in my thread: http://forum.xda-developers.com/showthread.php?t=1291351
Click to expand...
Click to collapse
Nice work!!! Please tell me how you got it to work on runny. I would love to include this in my mods.
Sent from my Desire HD using XDA App
rayford85 said:
Nice work!!! Please tell me how you got it to work on runny. I would love to include this in my mods.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
You have to load the Rosie.apk with m10 editor, then decompile the Rosie_navbar.m10 file and change the following opacity values from 1 to 0.0099999998. If you set them to 0, pressing on the buttons will have no effect.
thanks for this
MarylandCookie said:
I have a similar problem for the common progress bar which im assuming is in framework. I have decompiled, changed images, recompiled but the images are still default green.
Im baffled...
Any theme guru out there to advise...?
Click to expand...
Click to collapse
Do you mean the volume bars? if so just goto the UOT Kitchen & chage them in there, then flash them over your rom, or put the changes of your framework & system ui into your rom zip & flash your rom again?
goran60 said:
Does anyone know which is the location. png for a change in the transparent dock that is rosie navi bar?
Click to expand...
Click to collapse
Look here for rosie modding - http://forum.xda-developers.com/showthread.php?t=1210143
I have solved this thread problem if anyone has the same just change the common_music_progress_fill.9 this will change the volume bars in the status menu.
Hope this helps
MarylandCookie said:
I have a similar problem for the common progress bar which im assuming is in framework. I have decompiled, changed images, recompiled but the images are still default green.
Im baffled...
Any theme guru out there to advise...?
Click to expand...
Click to collapse
Progress_horizontal.xml in the drawable folder of framework-res.apk has to be changed
sigurd_LU said:
Progress_horizontal.xml in the drawable folder of framework-res.apk has to be changed
Click to expand...
Click to collapse
Nice one... only just seen your message lol
Fixed it as above

[Q] Cm7 status bar mod

Hi. I wanna ask if is it possible to change the clock font on the statusbar cm7. And I'm currently on squadzone cm7 RC5.7. I have a question. Is it the framework problem or something's else cause when I use tickle my android, the decompile and the recompile was sucess. And when I push it in I got a bootloop. Can anyone help me?
Well the easiest way to change font is to rename your desired font to the one used by the clock (mostly "Clockopia") and replace it by pushing to System/fonts and set permissions
dno0b said:
Well the easiest way to change font is to rename your desired font to the one used by the clock (mostly "Clockopia") and replace it by pushing to System/fonts and set permissions
Click to expand...
Click to collapse
nope, clockopia is only for lockscreen clock...
RayQ1223 said:
Hi. I wanna ask if is it possible to change the clock font on the statusbar cm7. And I'm currently on squadzone cm7 RC5.7. I have a question. Is it the framework problem or something's else cause when I use tickle my android, the decompile and the recompile was sucess. And when I push it in I got a bootloop. Can anyone help me?
Click to expand...
Click to collapse
If you have a bootloop, that's because you've got something wrong with your framework-res.apk. I'm guessing that you recompiled it but didn't prepare it. You have to prepare system files or they just won't work.
That said, decompiling files isn't the way to change your clock font. Tickle My Android does have an option for changing the clock font in the modifying menu, although I can't guarantee that it'll work on your CM7. If it doesn't, the best way is to look in /system/fonts and start replacing fonts. Hopefully, the font you need will have a fairly obvious name..
Ticklefish said:
If you have a bootloop, that's because you've got something wrong with your framework-res.apk. I'm guessing that you recompiled it but didn't prepare it. You have to prepare system files or they just won't work.
That said, decompiling files isn't the way to change your clock font. Tickle My Android does have an option for changing the clock font in the modifying menu, although I can't guarantee that it'll work on your CM7. If it doesn't, the best way is to look in /system/fonts and start replacing fonts. Hopefully, the font you need will have a fairly obvious name..
Click to expand...
Click to collapse
I did prepare system files but sometimes when I wanted to push it in, it says write only file system. How can I change it? And for the clock I've changed clokopia and one more I guess it's called honeycombAndroidClock.tff but all they change was only the lockscreen clock
RayQ1223 said:
I did prepare system files but sometimes when I wanted to push it in, it says write only file system. How can I change it? And for the clock I've changed clokopia and one more I guess it's called honeycombAndroidClock.tff but all they change was only the lockscreen clock
Click to expand...
Click to collapse
don't know about cyanmobile, in cyanmogenmod 7 you have to change droidsans fonts, it changes overall text appearance
Okay. I've downloaded rom toolbox pro and I tried to change my batt icon to ics with percentage. When I done install nothing happens. After a reboot, still nothing happens. Is this the right way to download it?
RayQ1223 said:
Okay. I've downloaded rom toolbox pro and I tried to change my batt icon to ics with percentage. When I done install nothing happens. After a reboot, still nothing happens. Is this the right way to download it?
Click to expand...
Click to collapse
For changing battery and stuff its easier to use UOT Kitchen
I know uot kitchen is the best but I'm already on a ics rom. All I want is to change the batt icon. When I upload the framework and systemUI I got shtf file. All I can do is uploading the theme chooser theme. Unless I could find a theme chooser theme which it is pure and not modded before.
RayQ1223 said:
I know uot kitchen is the best but I'm already on a ics rom. All I want is to change the batt icon. When I upload the framework and systemUI I got shtf file. All I can do is uploading the theme chooser theme. Unless I could find a theme chooser theme which it is pure and not modded before.
Click to expand...
Click to collapse
Hmm.. Tell you what, if you can share your files on the Tickle My Android thread, I can make this mod for you.
I can even take a look at changing your clock font. I'll just need to know what fonts you have in your Rom.
Sent from my SK17i using xda premium
Ticklefish said:
Hmm.. Tell you what, if you can share your files on the Tickle My Android thread, I can make this mod for you.
I can even take a look at changing your clock font. I'll just need to know what fonts you have in your Rom.
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
Uploaded. Post #705

[MOD] - Navbar/sotfkeys 32dp to cm10.1.3 by Drummerjed

Hello, I wonder if someone can decrease the height of the navbar / softkeys the stable version of cyanogenmod (version cm10.1.3) to 32px. I looked up he was some way to do this but do not have the knowledge necessary to make this change.
From what I've been researching which could be modified to do this would be in framework-res.apk.
I left here the framework-res.apk for those who have the capacity and knowledge to make this small modification.
I appreciate anyone who can help me with this.
edit:
All credits go to Drummerjed.
I asked and he made ​​this small change in navbar and now here I leave the arrangement for those who want to reduce the height of the navbar to 32DP.
Deleted
Sent from Z Beast
C.Eduardo said:
Hello, I wonder if someone can decrease the height of the navbar / softkeys the stable version of cyanogenmod (version cm10.1.3) to 32px. I looked up he was some way to do this but do not have the knowledge necessary to make this change.
From what I've been researching which could be modified to do this would be in framework-res.apk.
I left here the framework-res.apk for those who have the capacity and knowledge to make this small modification.
I appreciate anyone who can help me with this.
Click to expand...
Click to collapse
Flash this - http://www.mediafire.com/download/ht9ote9v7to5e0w/32px_Navbar_cm10.1.3.zip
C.Eduardo said:
Hello, I wonder if someone can decrease the height of the navbar / softkeys the stable version of cyanogenmod (version cm10.1.3) to 32px.
Click to expand...
Click to collapse
Just to make your facts right. It's dp(density pixel). Not px
http://developer.android.com/design/style/metrics-grids.html
Drummerjed:
It worked perfectly. Thank you very much, I'll edit my first post and place for those who want too.
helmanss:
Ok, I was not sure how to write but I'll fix that.

help with edited systemui And ouya launcher please

hi guys so im stripping down the firmware for my note, going to use it for pure gaming now, and im trying to get rid of the signal bar at the top, iv tried using apktool, with no luck, got it decompiled and edted the pic's(resized and set the transparency) needed saved, but failed to recompile, so i replaced the RES Folder with the edited one, via winrar, that still does not work,
if i provide the framework and system ui please can someone do it for me and then tell me how you have done it? its pa 4.4.2
also trying to edit the ouya launcher, so i can use that also, i got it to start and work, just by installing the apk, but the resolution is all wrong, i have no clue where to even start with that, so all help is needed please, just trying to convert it to a gaming device,
thanks, craig
attached files.
181jenkins said:
hi guys so im stripping down the firmware for my note, going to use it for pure gaming now, and im trying to get rid of the signal bar at the top, iv tried using apktool, with no luck, got it decompiled and edted the pic's(resized and set the transparency) needed saved, but failed to recompile, so i replaced the RES Folder with the edited one, via winrar, that still does not work,
if i provide the framework and system ui please can someone do it for me and then tell me how you have done it? its pa 4.4.2
also trying to edit the ouya launcher, so i can use that also, i got it to start and work, just by installing the apk, but the resolution is all wrong, i have no clue where to even start with that, so all help is needed please, just trying to convert it to a gaming device,
thanks, craig
attached files.
Click to expand...
Click to collapse
I think your best bet would be to simply change your ROM. PA has many great features, but it lacks in customizability. I know CarbonROM (I'm using it) has an option to remove the signal icon in the status bar.
Settings -> Carbon Fibers -> Statusbar ->Signal status style -> Hidden
XxPixX said:
I think your best bet would be to simply change your ROM. PA has many great features, but it lacks in customizability. I know CarbonROM (I'm using it) has an option to remove the signal icon in the status bar.
Settings -> Carbon Fibers -> Statusbar ->Signal status style -> Hidden
Click to expand...
Click to collapse
yeah i did change rom in the end, to bean... something lol, but still trying to get the ouya launcher to work, still driving me crazy!
Is that ouya launcher meant for tablets? Because if it is then try changing the screen density through build.prop
XxPixX said:
Is that ouya launcher meant for tablets? Because if it is then try changing the screen density through build.prop
Click to expand...
Click to collapse
no its ouya launcher from the ouya Android gaming console thingy
also what carbon version are you running? i cant get wifi to work
WiFi works fine, running the latest nightly 4.4.4
XxPixX said:
WiFi works fine, running the latest nightly 4.4.4
Click to expand...
Click to collapse
got it working thanks,
can anyone still help with the ouya launcher please?
edit, got the dpi sorted, now works on my note, next question how can i make my Games show in the "play" menu?

Build.Prop Modifier/LCD density changer - Flashable Zip (Updated: 2015-05-01)

Updated: 2015-08-21 - Changed links because of new host.
Update: 2015-05-01
I updated the scripts so that now you can just flash the LCD density you want. Before, the script would change one specific density to another. Now, it changes any density (3 digit) to the desired density. Everything else is the same.
These files edit build.prop from any three digit density to either 560, 493, 480, or 476 depending on which zip you flash.
For 560 (stock) LCD density:
https://spideroak.com/share/N5QWWZA...k-bld.prp-mod-set-560-LCD-2015-05-01-1846.zip
For 493 LCD density:
https://spideroak.com/share/N5QWWZA...k-bld.prp-mod-set-493-LCD-2015-05-01-1844.zip
For 480 LCD density:
https://spideroak.com/share/N5QWWZA...k-bld.prp-mod-set-480-LCD-2015-05-01-1845.zip
For 476 LCD density:
https://spideroak.com/share/N5QWWZA...k-bld.prp-mod-set-476-LCD-2015-05-01-1846.zip
Original Post:
I install roms all the time and one of the things I hate having to do is edit the build prop to get my preferred LCD Density. Stock is 560 and I prefer 476. I made a flashable zip that I can just flash immediately after I install a rom. All it does is use sed to change "ro.sf.lcd_density=560" to "ro.sf.lcd_density=476". This saves a little time editing the file manually and saves a reboot. The included buildpropmodifier.sh script can easily be edited to whatever values a user might like. The script also includes the ability to enable tethering and hide the soft keys, but these options are disabled by default. The buildpropmodifier.sh script is well annotated to show how it works and can be changed.
I made these for myself but thought others might find them useful. As with anything on XDA you use these at your own risk. They work fine on my N6 but I cannot be responsible for how you use them.
This zip changes the stock LCD density of 560 to 476:
https://spideroak.com/share/N5QWWZA...k-bld.prp-mod-560-476-LCD-2015-04-25-1611.zip
This zip changes the LCD density from 476 back to the stock 560:
https://spideroak.com/share/N5QWWZA...k-bld.prp-mod-476-560-LCD-2015-04-25-1611.zip
Who needs a ZIP for this?
Opening build.prop in system with an root Explorer and change the density works well.
Gesendet von meinem Nexus 6
Thanks. Very useful as I always have to change mine to 493 and would do it via flashing when I flash Rom.
thanks, u saved me one reboot.
spevil07 said:
Who needs a ZIP for this?
Opening build.prop in system with an root Explorer and change the density works well.
Gesendet von meinem Nexus 6
Click to expand...
Click to collapse
Ya, it's certainly nothing earth shattering. Just a convenience . It takes like 5 seconds to flash upon install, vs editing build.prop and rebooting.
I find it quite useful. This is why a shared it.
Comes in handy should you have any bootloops related to changing DPI.
ilamaan said:
Comes in handy should you have any bootloops related to changing DPI.
Click to expand...
Click to collapse
That's a good idea. This evening I will update the script to match any 3 digit number and change it to the stock 560. This would make it easier in this case, in particular and also generally.
updated zips to be more useful
I updated the scripts in the OP so that now you can just flash the LCD density you want. This change was inspired by ilamaan's post. Before, the script would change one specific density to another. Now, it changes any density (3 digit) to the desired density. Everything else is the same.
The zips in the OP edit build.prop from any three digit density to either 560, 493, 480, or 476 depending on which zip you flash.
oak said:
I updated the scripts in the OP so that now you can just flash the LCD density you want. This change was inspired by ilamaan's post. Before, the script would change one specific density to another. Now, it changes any density (3 digit) to the desired density. Everything else is the same.
The zips in the OP edit build.prop from any three digit density to either 560, 493, 480, or 476 depending on which zip you flash.
Click to expand...
Click to collapse
Thanks for sharing these, comes in very handy and saves a bit of time setting a new ROM up.
[emoji106] [emoji106]
This is Perfect for a flashoholic like me. Thanks a lot.
traboll said:
This is Perfect for a flashoholic like me. Thanks a lot.
Click to expand...
Click to collapse
Glad you found it useful. I do to, because I flash way to much as well!
Any chance for a reupload? Would love to get a copy of this zip file, no matter which version, as I'd change it to my personal dpi setting (520). Thanks in advance for any help!
Would like to have these but the link doesn't work.
Meowdib said:
Would like to have these but the link doesn't work.
Click to expand...
Click to collapse
You can manually edit build.prop in system using root explorer or ROM ToolBox.
seabro01 said:
You can manually edit build.prop in system using root explorer or ROM ToolBox.
Click to expand...
Click to collapse
Except i wanted to stick this in my opendelta folder and foggetaboutit

Categories

Resources