Navigation / Softkey Bar Adjustment - Huawei Ascend P6, Mate

Hi Im going mad trying to edit the softkeys / Navi bar.
Ive tried all the programs on play store, hiding the bar and using these softwares doesent help much because it does not push the screen up, instead if you make a false bar, it overlaps the lower part of the screen.
anyone know a straight forward method of editing them to be slightly smaller and perhaps making the bar black in colour? Mine is grey which is also another irritating factor.

u want to change the bar‘s color?
MasterfullDON said:
Hi Im going mad trying to edit the softkeys / Navi bar.
Ive tried all the programs on play store, hiding the bar and using these softwares doesent help much because it does not push the screen up, instead if you make a false bar, it overlaps the lower part of the screen.
anyone know a straight forward method of editing them to be slightly smaller and perhaps making the bar black in colour? Mine is grey which is also another irritating factor.
Click to expand...
Click to collapse
I only know how to hide the navi bar forever, by change some words in the system file. And i use a gesture app to instead of navi bar.

You'll need to extract framework-res.apk from the build your currently running. I can ammend the navbar height among other things. 28dpi is the optimal height in all honesty, the navbar icons don't scale to well otherwise.
This process assumes you have a working ADB environment setup.
Open Command Prompt/Terminal, take note of the current directory then perform the following command:
Code:
Adb pull /system/framework/framework-res.apk
Locate and attach framework-res.apk you've just obtained from the above step and attach here.
Alternatively if your phone is rooted navigate to /system/framework/ and copy and paste framework-res.apk to your /sdcard/, attach device via USB and like above locate and attach the obtained file here within a post and I'll take care of the rest.

Nav bar
MasterfullDON said:
Hi Im going mad trying to edit the softkeys / Navi bar.
Ive tried all the programs on play store, hiding the bar and using these softwares doesent help much because it does not push the screen up, instead if you make a false bar, it overlaps the lower part of the screen.
anyone know a straight forward method of editing them to be slightly smaller and perhaps making the bar black in colour? Mine is grey which is also another irritating factor.
Click to expand...
Click to collapse
just send ur systemui.apk and framework-res.apk and wait

zubairx said:
just send ur systemui.apk and framework-res.apk and wait
Click to expand...
Click to collapse
Ill do that. I was travelling. Ill upload it tom.

MasterfullDON said:
Ill do that. I was travelling. Ill upload it tom.
Click to expand...
Click to collapse
Hey
Having a lot of issues uploading it. So there it is on the file sharin network.
http://www50.zippyshare.com/v/77899204/file.html
Can you also make it black in colour. At mo its this annoying grey.
Height of 50 or 60% of present would be awsome
Thanks a tonne.

Mine is ..
http://d-h.st/7FI

i can easily hide nav bar ..

d3xophen said:
Mine is ..
http://d-h.st/7FI
Click to expand...
Click to collapse
His needs work? Or is it worked?

mine is stock framework .
my p6 is p6-c00 (cdma 800 mhz + gsm Dual Sim)
thats why i uploaded mine.

I'm going crazy,with nova launcher the softkey bar is grey.....I would like to know how to make it black or transparent like the original launcher!!!

Stickman89 said:
You'll need to extract framework-res.apk from the build your currently running. I can ammend the navbar height among other things. 28dpi is the optimal height in all honesty, the navbar icons don't scale to well otherwise.
This process assumes you have a working ADB environment setup.
Open Command Prompt/Terminal, take note of the current directory then perform the following command:
Code:
Adb pull /system/framework/framework-res.apk
Locate and attach framework-res.apk you've just obtained from the above step and attach here.
Alternatively if your phone is rooted navigate to /system/framework/ and copy and paste framework-res.apk to your /sdcard/, attach device via USB and like above locate and attach the obtained file here within a post and I'll take care of the rest.
Click to expand...
Click to collapse
Have you been able to see it yet?

Related

Notification Button Help

Hello All.
I need a little assistance please. I'm using Mr.Puffin's white notification bar for the latest Froyo update. I successfully hacked it and added by own transparent background by tweaking framework-res.apk and services.jar.
However one item remains and that is the button which appears in the notification bar (see attached) It has black text on a black background. I would like to change the background image for this button and I have no idea what the name is or where it resides. I've looked in the drawable-hdpi folder and can't make heads or tails of of this.
Would someone please be kind enough to advise me on how to change this button background image.
Many thanks!
* bump *
...anyone please?
a2k said:
Hello All.
I need a little assistance please. I'm using Mr.Puffin's white notification bar for the latest Froyo update. I successfully hacked it and added by own transparent background by tweaking framework-res.apk and services.jar.
However one item remains and that is the button which appears in the notification bar (see attached) It has black text on a black background. I would like to change the background image for this button and I have no idea what the name is or where it resides. I've looked in the drawable-hdpi folder and can't make heads or tails of of this.
Would someone please be kind enough to advise me on how to change this button background image.
Many thanks!
Click to expand...
Click to collapse
This is something I did on the Hero back in the day, and at the time, was not an easy thing to pull off, at least not for something you would assume is pretty straightforward.
Though the procedure for the EVO is a bit different, the concept is similar for pulling the hack off.
By all reasonable expectations, if you look at the status bar XML, you would assume the button being used, per the XML is:
btn_default_normal.9.png
But, in looking at the image, it is a white button, not the default black button we see (same as with the Hero post referenced above), so, just as in the Hero, it is clear that the XML is being overridden via Java code. Why they do this I have no idea, but this is indeed the case.
The other issue is, this is using common / shared framework buttons, so you can't / probably shouldn't go and modify the button, as you'll end up breaking the display elsewhere throughout Android, where the font will no longer show up given a color change that hides the font color elsewhere, i.e. white text on white button.
Digging through the smali code you can see that instead, the buttons being used are in com.htc.resources.apk, such as:
common_b_button_small_rest
common_b_button_small_press
common_b_button_small_selected
Again, though, as mentioned, it would be a mistake to recolor these buttons to be white, for example, as this will break button text display all throughout your phone, so you will want to modify the smali code to point back the original images in framework-res, rather than those referenced above in com.htc.resources.
Did you see this reply? You bumped your post, so I'm assuming this was something you were looking to address sooner than later, but haven't heard back...
JsChiSurf said:
Did you see this reply? You bumped your post, so I'm assuming this was something you were looking to address sooner than later, but haven't heard back...
Click to expand...
Click to collapse
Thank you ever so kindly JsChiSurf! Just the ammunition I needed. Thanks again!

(UPDATED)Semi-transparent simple and clean notification and toggles

We need some variety and i was getting kinda bored with the phisher-price/blinky lights look of the toggles. Toggles are now simple and clean Ice Cream Sandwich blue. Notifications still appear in black backgrounds. I also got rid of the full battery icon that would appear in the top left corner when battery was fully charged i dont need that my lockscreen does that.
instructions
download file, unzip, put on sdcard, open root explorer and move systemui.apk to system, make sure you toggle ro/rw in top right corner, long press on it select permissions change permissions according to the picture below, now move it into the app folder, root explorer will ask if you want to overwrite the original click yes. Thats it exit root explorer reboot your phone
sorry for the long drawn out instructions i just dont want anyone to get lost. Feel free to use any of this artwork in what ever you heart desires.
Thanks! I really like this. The toggle icons look great and so does the translucent pull down.
The only suggestion I have would be to make the background behind the toggles dark. Sometimes it's hard to see them when the background is bleeding through.
Again, nice work.
Sent from my SGH-T989 using XDA App
OK I feel stupid..... I did every single thing like I'm supposed to step by step reeboted....and no notifications bar. I swear I did everything exactly please help
Sent from my Hercules Via Tapatalk
bo55 said:
OK I feel stupid..... I did every single thing like I'm supposed to step by step reeboted....and no notifications bar. I swear I did everything exactly please help
Sent from my Hercules Via Tapatalk
Click to expand...
Click to collapse
Did you also remove the systemui.odex file? If so, that's the problem. You need to keep the odex file in place.
you seem to have 2 notif folders with the same systemui.apk.. ?

Need Help!!!! missing soft keys and status bar!

Hello, today I was trying to change the soft keys on the galaxy nexus using an explorer, i ended up putting the .png images on the SystemUi/res/drawable-xhdpi folder and the phone rebooted and came up with no status bar and no soft keys. Had a nandroid backup but deleted all user data without thinking about restoring because i thought the backup would stay... like on my rooted incredible. Any help on how to get soft keys and status bar back? thanks
anyone know any fixes? i need one fast please!
Re-flash your ROM
El Daddy said:
Re-flash your ROM
Click to expand...
Click to collapse
please help on reflashing now. http://forum.xda-developers.com/showthread.php?p=20818957
i did what this guy said to and wiped data , formatted system and wiped the dalvik cache and when booted the phone stays on google with the unlocked icon
I think you may have wiped the system after you reflashed the rom. Your phone won't go past Google because there's nothing there. Power off and go back to recovery from fastboot.
Is all you did was put the png's in SystemUI? There's XML and smali code that needs to be edited/added for this to work as well.
Sent from my Galaxy Nexus using Tapatalk
RMarkwald said:
Is all you did was put the png's in SystemUI? There's XML and smali code that needs to be edited/added for this to work as well.
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Not true. All he has to do is replace the icons and it should work. OP try replacing the icons on your computer. I like 7zip. I just right click on the apk, choose open archive, and navigate to the folder of interest. Drag the images you want in, confirm the prompt, and its good to push back to the phone.
Using an explorer is what your problem is. The easiest way to get the status bar and keys back is to keep a copy of your unmodified SystemUI apk and push it with adb or simply copy it back to the /system/app directory with root explorer. After a reboot you'll be back to normal
Sent from my Galaxy Nexus using xda premium
Did it give you full screen size, or was there just a black bar at the bottom missing the icons? I am wondering if you may have stumbled on a work around for removing the bar at the bottom and getting full screen.
Rockstar52 said:
Did it give you full screen size, or was there just a black bar at the bottom missing the icons? I am wondering if you may have stumbled on a work around for removing the bar at the bottom and getting full screen.
Click to expand...
Click to collapse
Its not a work around. If you're missing the top and bottom bars its nearly impossible to navigate the phone
Sent from my Galaxy Nexus using xda premium
nbeebe24 said:
Its not a work around. If you're missing the top and bottom bars its nearly impossible to navigate the phone
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
I was talking about using the app "Button Savior". If this removes the full bottom bar then we could install Button Savior first then remove the .pngs and have the best of both worlds, as this was the same problem many of us faced who owned an Archos Gen8 tablet that was the first (that I know of) to use on screen buttons. Using Button Savior we were able to remove the on screen buttons and still have full navigation capabilities.
if you want to change PNG's files, you will need a deodex SystemUI.apk.
a normal odex SystemUI.apk will not accept it.
if you don't get any status bar or button, it means that android has failed to load the SystemUI.apk.
find the original SystemUI,apk and SystemUI.odex and re-install them should help.

A possible working soultion to hide softkeys!

Ok, I understand there are many threads as to softkey management. I, for one would love to hide these soft keys and I think I might have stumbled upon a way that it might work, but because I am not a Dev I myself don't totally understand, how Android works, so hopefully one of the Dev here could help understand what is going on here. So I have been doing a lot of searches to find a way to hide these keys, along the way I stumbled across a few threads where users were loosing their softkeys after using some of the softkey mods, I remember reading some where a user lost his softkeys do to flashing the Deodexed version of the mod while running on a Odexed Rom. I thought I would give this a try I downloaded Deodexed version of the softkey mod from this post:
(http://forum.xda-developers.com/showthread.php?t=1394639&highlight=soft+key) and installed it on my ARHD 2.1.3 Odexed Rom. Behold upon reboot I had full screen! Great! Just a few problems though, I lost not only my softkeys, but also my notification bar at the top. I also could not set any wallpaper but only a live wallpaper. I was able to navigate without any issues as I downloaded and installed Button Savior from the market before installing the modification. Any suggestions from Dev's as to why, how, or if this could work would be great.
Not a dev but I made mine disappear when I was manually editing pngs in SystemUI.apk to mod my softkeys. I must have did something wrong.
I believe adr and his Bamf team are including this in their upcoming rom
I think they are mapping it to power and vol up or down
That would be great! I like the full screen it just looks amazing! I don't mind using Button Savior.
So you suggest removing the softkeys by breaking them and the notification bar..
joshnichols189 said:
So you suggest removing the softkeys by breaking them and the notification bar..
Click to expand...
Click to collapse
No not by breaking them, I was hoping that a Dev would be able to see how or why they get removed and in doing so find a solution to hiding the keys altogether.
Eventually. Took Honeycomb a while. Supposedly the tricks in Honeycomb were patched.
They just need time. They already have abilities to rearrange and select which keys are visible plus themes and all that.
LTE EX Galaxy Nexus - AOSP KANG
Asus Transformer - 3.2.1 OC/UV
Rockstar52 said:
No not by breaking them, I was hoping that a Dev would be able to see how or why they get removed and in doing so find a solution to hiding the keys altogether.
Click to expand...
Click to collapse
They get removed because they are broken
Rockstar52 said:
Ok, I understand there are many threads as to softkey management. I, for one would love to hide these soft keys and I think I might have stumbled upon a way that it might work, but because I am not a Dev I myself don't totally understand, how Android works, so hopefully one of the Dev here could help understand what is going on here. So I have been doing a lot of searches to find a way to hide these keys, along the way I stumbled across a few threads where users were loosing their softkeys after using some of the softkey mods, I remember reading some where a user lost his softkeys do to flashing the Deodexed version of the mod while running on a Odexed Rom. I thought I would give this a try I downloaded Deodexed version of the softkey mod from this post:
(http://forum.xda-developers.com/showthread.php?t=1394639&highlight=soft+key) and installed it on my ARHD 2.1.3 Odexed Rom. Behold upon reboot I had full screen! Great! Just a few problems though, I lost not only my softkeys, but also my notification bar at the top. I also could not set any wallpaper but only a live wallpaper. I was able to navigate without any issues as I downloaded and installed Button Savior from the market before installing the modification. Any suggestions from Dev's as to why, how, or if this could work would be great.
Click to expand...
Click to collapse
- Decompile your framework-res.apk
- Open framework-res.apk\res\values\bools.xml
- Change
Code:
<bool name="config_showNavigationBar">true</bool>
to
Code:
<bool name="config_showNavigationBar">false</bool>
- Recompile, push it to your phone and reboot
Code:
adb push framework-res.apk /system/framework/framework-res.apk
Code:
adb reboot
I don't want to hide my nav bar, I wanna make it transparent.
sent from my googletron
gogodu5sU said:
- Decompile your framework-res.apk
- Open framework-res.apk\res\values\bools.xml
- Change
Code:
<bool name="config_showNavigationBar">true</bool>
to
Code:
<bool name="config_showNavigationBar">false</bool>
- Recompile, push it to your phone and reboot
Code:
adb push framework-res.apk /system/framework/framework-res.apk
Code:
adb reboot
Click to expand...
Click to collapse
Thanks, I will give this a shot. One last question why would the wallpaper stop working?
ChongoDroid said:
I don't want to hide my nav bar, I wanna make it transparent.
sent from my googletron
Click to expand...
Click to collapse
I could dig that.
Sent from my Galaxy Nexus using Tapatalk
ChongoDroid said:
I don't want to hide my nav bar, I wanna make it transparent.
sent from my googletron
Click to expand...
Click to collapse
Actually seems like a pretty nice idea. Does the OS continue to draw behind the buttons, or does the screen effectively stop where they begin?
I would rather a gesture on the softkey bar (flick up/down) to show/hide it. That way you still retain the functionality of the keys, but at the same time you can utilise the full screen when you want to. Remapping these to the hard buttons sounds horrible (unless I misunderstood that?).
If it was transparent and you wanted to click something at the bottom of an app, android wouldn't know whether you wanted to click the app or the buttons.
Jleagle said:
If it was transparent and you wanted to click something at the bottom of an app, android wouldn't know whether you wanted to click the app or the buttons.
Click to expand...
Click to collapse
we already have a transparent status bar successfully mod over in the themes section. and no you dont lose any function. the bar is still there, its just see-thru. so it functions identically to current usage.
anyway hiding the softkeys is something i would love. and google could have been creative, perhaps 3 finger swipe to make them appear, etc. that way 2 finger pinch to zoom wouldnt confuse it with a 3 finger swipe, twist, etc.
Krijs said:
I would rather a gesture on the softkey bar (flick up/down) to show/hide it. That way you still retain the functionality of the keys, but at the same time you can utilise the full screen when you want to. Remapping these to the hard buttons sounds horrible (unless I misunderstood that?).
Click to expand...
Click to collapse
This would be great. I use ADW Ex on my Galaxy Tab 10.1 LTE, and that has a swipe for its lower dock bar works great. When you don't want just swipe down, when needed swipe up.
gogodu5sU said:
- Decompile your framework-res.apk
- Open framework-res.apk\res\values\bools.xml
- Change
Code:
<bool name="config_showNavigationBar">true</bool>
to
Code:
<bool name="config_showNavigationBar">false</bool>
- Recompile, push it to your phone and reboot
Code:
adb push framework-res.apk /system/framework/framework-res.apk
Code:
adb reboot
Click to expand...
Click to collapse
Why Can't i find values in my framework-res.apk? Im on 4.0.4
Im very familiar with android but am stumped on this one.

Barely there nav bar so nav ring is still useful

Why doesn't anyone make a DPI setting for nav bar that barely exists so nav ring targets can be used kinda like a wave launcher or lmt from the bottom. Thus leaving no need for second launcher when hiding nav bar. Wouldn't have to hide it. Instead it would be barely viseadle to the eye.
Think this is a pretty cool idea. With one idea can eliminate two others. Neatening things up a bit and using less apps.*
I tried to figure it out. Tried modding framework res. Was unsuccessful. Having three kids doesn't help either. So hoping someone with more expierence and time may be able to figure this out.
What are you having trouble with? Is your apktool even set up correctly? Also what version are you using? I have a 32dpi navbar the smaller the better.
USMC0341 said:
What are you having trouble with? Is your apktool even set up correctly? Also what version are you using? I have a 32dpi navbar the smaller the better.
Click to expand...
Click to collapse
I don't think all tool is set up right. Yes smaller the better. So small you don't see it is the idea so have max screen real estate but still swipe up and use nav ring targets. Thus no longer needing hide nav bar mod or lmt.
More of a streamlined concept.
gkitab said:
I don't think all tool is set up right. Yes smaller the better. So small you don't see it is the idea so have max screen real estate but still swipe up and use nav ring targets. Thus no longer needing hide nav bar mod or lmt.
More of a streamlined concept.
Click to expand...
Click to collapse
apktool doesn't require settings anything up. If you're having trouble decompiling jellybean apk's, you can use the version I posted here (I compiled it using paulobrien's settings to make it work with 4.2.x). You just need to do the following:
1) put framework-res.apk in the same folder as apktool
2) type 'apktool if framework-res.apk'
3) type 'apktool d framework-res.apk
4) make the edits inside the framework-res folder that gets created
5) type 'apktool b framework-res.apk'
If you have any problems or questions, post them here and I'm sure I or someone else can help you.
Right and left Navbar could be useful. It mimics the right and left swiped for quick settings panel and notification bar.
mwalt2 said:
apktool doesn't require settings anything up. If you're having trouble decompiling jellybean apk's, you can use the version I posted here (I compiled it using paulobrien's settings to make it work with 4.2.x). You just need to do the following:
1) put framework-res.apk in the same folder as apktool
2) type 'apktool if framework-res.apk'
3) type 'apktool d framework-res.apk
4) make the edits inside the framework-res folder that gets created
5) type 'apktool b framework-res.apk'
If you have any problems or questions, post them here and I'm sure I or someone else can help you.
Click to expand...
Click to collapse
k got framwork res in folder. where are these commands typed? in command promt from holding shift and left click or something
okay i opened command promt, typed in first line minus apostrophes and got an error. apktool is not trecognized as internal or external command operable program or batch file.
dont i need to set something up within laptop. a path of somesort
Is it possible to set up back home and recents buttons to the nav ring?

Categories

Resources