yashsingh1/xdaforums huggingface dataset:
[Android Software Development] mattmanwrx:
I'll do it when I have time, I dont have time at the moment...

But, I dont even think it will work anyway, so no point in getting your hopes up...
[Android Software Development] alfry:
Ah ok .. However, I think that will work because this guide is almost identical to what's on the thread of the galaxy s, D
[Android Software Development] saldymhmd:
nice tutorial and I succesfully enabled on screen button on my phone :) But may I ask something ? Can I add the 'Menu' on screen button ? there are only back, home, and recent apps, can someone guide or link me ? thanks in advance :)
[Android Software Development] alfry:
aapt that you used?
[Android Software Development] saldymhmd:
you mean apktool version ? I used 1.4.2
[Android Software Development] alfry:
No I mean the aapt you used to compile the file
[Android Software Development] saldymhmd:
i don't see what you saying :D sorry my english not well :p
[Android Software Development] KBanause:
the menu "button" is only available when there's a menu and the app developer hasn't switched to the new action bar
[Android Software Development] alfry:
ENGLISH

Look, I'm Italian .. and use google translator = P ...

I say you used all the time apktool (decompilation and compilation) and then you changed?

ITALIANO

Guarda io sono italiano.. e uso google traduttore =P ...

dico hai usato per tutto il tempo apktool (decompilazione e compilazione) o poi lo hai cambiato?
[Android Software Development] saldymhmd:
yeah I know it now, the menu button only appear on some applications :D

---------- Post added at 08:09 PM ---------- Previous post was at 08:06 PM ----------

:D yeah i used only apktool for decompile and compile, but with 1.4.2 version. I don't know when use the 1.4.3 version I always gettings error
[Android Software Development] 309041291a:
Would you, or anyone else mind helping me with that?

Nexus S (GSM i9020a)

GummyNex (9.0)

Air Kernel (3.45)

OC 1000/200 (Lionheart)

Live OC (100 -Noop)

v6 Supercharged
[Android Software Development] mattmanwrx:
Upload framework-res.apk, I'll try when i have time tomorrow... :)
[Android Software Development] 309041291a:
Here you go! In portrait view the on-screen buttons overlap my keyboard by literally one millimetre. It probably is too much to ask for as is so you don't have to, but if it was possible could you make the portrait view a little smaller, 1 mm :P. If not that's is fine, the landscape thing is already great! I'm running GummyNex so the buttons are not permanent, I'm not sure if that will affect anything.... Anyways thank you!

Framework

View attachment framework-res.apk
[Android Software Development] DonPanda:
Some one tested this on DHD with ICS Rom?
[Android Software Development] mattmanwrx:
attached to this post (hopefully) - made the navi bar slightly smaller so hopefully no overlapping! Hope it works for you...

It should work with the DHD ICS rom, it should work with any ICS rom, sense is another question though!! ;)

Attached, doubt it will work as I havent been able to do any mods for Samsung based roms... try it though!

The rules apply to each and every upload I do! :)

P.S. Not flashable.zips - must intall yourself! :)
[Android Software Development] alfry:
Thanks ... when I can feel if it goes

for now the text tsunamics with integrated nav bar :)
[Android Software Development] mattmanwrx:
Sorry, language barrier here... So it works for you? Or not?
[Android Software Development] DonPanda:
DHD has ICS without Sense :P But thanks for the answer. I'll try it this evening.
[Android Software Development] 309041291a:
Is the landscape keys gone too?

Nexus S (GSM i9020a)

GummyNex (9.0)

Air Kernel (3.45)

OC 1000/200 (Lionheart)

Live OC (100 -Noop)

v6 Supercharged
[Android Software Development] mattmanwrx:
No, i didnt touch the width for landscape.. jus the height for keyboard on portrait...
[Android Software Development] alfry:
I have not tried yet
[Android Software Development] 309041291a:
Okie, I'll wait till someone does :P. I'll try yours out tonight

Nexus S (GSM i9020a)

GummyNex (9.0)

Air Kernel (3.45)

OC 1000/200 (Lionheart)

Live OC (100 -Noop)

v6 Supercharged
[Android Software Development] mattmanwrx:
If u want the "width" smaller i can make it smaller... i usually half the dimentions, shall i try that? Let me know if the uploaded one works first, then ill try... :)
[Android Software Development] 309041291a:
I wan the landscape view gone. Portrait is nice but landscape takes too much screen.... I'll try the first one.

Edit: I couldn't replace my current framework with it. It failed when I moved it out of the SDcard. I couldn't delete it either... I had the right permissions... Odd. Can someone run over the permissions with me so I know I got them right?

Nexus S (GSM i9020a)

GummyNex (9.0)

Air Kernel (3.45)

OC 1000/200 (Lionheart)

Live OC (100 -Noop)

v6 Supercharged
[Android Software Development] Kurupt1:
Matt man I have another request for you, I will gladly buy you a coffee or whatever beverage you like for your hard work.

Here is my framework res from cm9, and and if you could make it smaller like the last one that would be great

http://db.tt/MoxKlPEW

Thanks again
[Android Software Development] mattmanwrx:
attached is another for you, it has the width set to 0 so no navi bar on landscape...

regarding the installation - I would extract the rar, and copy it over with root explorer (that is what I would do for my S-Off desire), or use adb - reboot to recvoery, mount /system and then adb push framework-res.apk /system/framework/framework-res.apk

I think that would be the command!

Kurupt1 - attached to post (again ;))

Usual rules apply, take a nandroid and back up original framework-res.apk!
[Android Software Development] 309041291a:
Thank you! Downloading now... Do I have to change the properties or anything if I'm using a root explorer?

Nexus S (GSM i9020a)

GummyNex (9.0)

Matrix Kernel (CFS 19.0)

OC 1000/200 (Lionheart)

Deep Idle (Off - Noop)

v6 Supercharged
[Android Software Development] Kurupt1:
Thanks as always Mattman!:-) Is there any chance I could get you too resize the buttons, they are just a little to big and overlap some apps like phone.
[Android Software Development] mattmanwrx:
Doing it now... :)

Will set them at 37 instead of 48 (I think), as it is stated in the op.. is landscape fine or shall I make them smaller too?

EDIT: Didnt come back to me in time, I changed the 48 value to 37 (like in the op) so try this... :)

On my desire I had to change it to 24 to stop overlapping of the keyboard, this made them very small... I, personally, think anything under 30 is too small (but once you get used to them you will never go back, lol!)

Usual rules apply! :)
[Android Software Development] mr.megi:
Is it possible to move the buttons so there is one in the middle, one in the right and one on the left side of the screen, no like the screen below ?
[Android Software Development] mattmanwrx:
What rom are you on? ( I would like to take a look around, like the transparent status bar)

the navi_bar.xml (in systemUI.apk) has been modified to look like that.. I wouldnt know how to modify it back (but I could take a look)... you could try a decompile and compare with a standard one?

KANG roms have options like this, so could look at their source...?
[Android Software Development] mr.megi:
Im on Miui.

I trieed to modd the MiuiSystemUI (SystemUi for Miui) but when I compiled back it got error so it ddint work.

Here are the frameworkres( with the nav bar enabled) and the MiuiSystemUI.
[Android Software Development] mr.megi:
That sounds too much of work and sound like I can only change the place but not make them as on Galaxy Nexus (that has all three buttons at the center)

But thanks anyway!
[Android Software Development] mattmanwrx:
No problem, it is a lot of work... You could ask the rom dev to check it out.

The three in the middle are stock, and then the three dots menu button are on the far right... maybe you could change the modded navi_bar.xml with the stock one, but need to decompile and compile for that... Plus it could have some bad outcomes.. :)
[Android Software Development] Kurupt1:
Your are the man! Donation on the way
[Android Software Development] mr.megi:
Could you post those four lines from stock one so I skip that part and focus on the compiling part?

Thanks

Skickat från min GT-P7500 via Tapatalk 2
[Android Software Development] mattmanwrx:
Yes, but I have just turned off my laptop...

If this is urgent, the rom I was using (where stock is) is called beta 0.6 in the desire development settings.. will edit with a link in a bit, just grabbing something to eat.. and in the systemui.apk is the navigation_bar.xml which is stock...

Actually, you would need to the change the whole xml as the lines below also state the rotations and when pressed...

EDIT: Laptop isnt turned off, attached is the none modded (stock) navigation_bar.xml (cant upload an xml, so uploaded in a .rar) :)
[Android Software Development] im0rtalz:
Could anyone try to mod this one for me.

I tried it twice and I'm not sure if maybe I am doing something wrong, but the onscreen buttons are showing. The mod seems to make my notification go into tablet mode. Notifications bar gets wider and my lockscreen get's messed up. Also when I go into system settings the ui looks as if it was tablet mode settings

screen shot example

http://dl.dropbox.com/u/8566596/Photos/Screenshot_2012-04-17-18-52-38.png

Rom is cm9 alpha 3 for epic touch 4g

attatched are the unmodified framework and sysui

edit I think the uploaded ones are the edited ones sorry here is the unedited one http://dl.dropbox.com/u/8566596/epic touch cm9 alpha 2/framework-res.apk
[Android Software Development] mattmanwrx:
Dont know what has happened in your screen shot - but have seen it before, in the early stages of this thread..

anyway, I have edited the bool from the unmodified framework-res.apk - attached

Usual Rules Apply
[Android Software Development] Bilgets:
i got an error like this : http://pastebin.com/G4wzLkTt

and im using ubuntu linux :D
[Android Software Development] im0rtalz:
thanks I'll will try this one when I get home from work
[Android Software Development] mattmanwrx:
check out the apktool google projects page where it states about the framework files installation - Failing that, post in the apktool thread

A little search would have got all these up, with solutions too!
[Android Software Development] Bilgets:
i already did the apktool if framework-res.apk part.. and still no luck yet..

maybe i should use the aapt from the first page.. but its for windows.. and i dont think it will work at linux.. and thanks for your answer :D
[Android Software Development] stoff_1980:
You can try wine with Linux but I haven't tested so I can't confirm if it works
[Android Software Development] im0rtalz:
Could you try reuploading the file if you still have it? I was so excited to come home and try it, but I'm finding that every time I try to download it, the file is only 55KB. Also do you mind explaining what methods you are doing for recompiling. I like receiving help, but I still would like to learn how to do it myself correctly in the future. Thanks in advance.
[Android Software Development] mattmanwrx:
I cant re-upload it, it was on my computer at work, however, as my laptop is on, I've done the mod again... :) This time it is in the .rar so your download might be better... It is attached...

I have done it exactly as the OP states, in fact, I found it before reading this thread :)

I use the apktool 1.4.2 modified for ICS (plurals error) (modified by somelese, I found it on XDA) that I have attached..

My post above states all about apktool and where to find it..

I also wrote a small guide in Private Messaging to someon on here about how to do a soft key mod...

You may not have to do the dimentions, but I did for the rom I was usin for my desire...

hope this helps you... ;)
[Android Software Development] 309041291a:
I get pushed in a constant boot loop when I tried to replace the framework.Res.apk file a few pages ago....

Nexus S (GSM i9020a)

GummyNex (9.0)

Matrix Kernel (CFS 19.0)

OC 1000/200 (Lionheart)

Deep Idle (Off - Noop)

v6 Supercharged
[Android Software Development] mattmanwrx:
then there are framework errors stopping the phone from booting... A logcat would help to tell what the errors are, however, it may not actually help....

I cannot find the GummyNex 9.0 rom (that your sig says you are using), to work with the original framework, but if you upload it again I will try it again...?
[Android Software Development] 309041291a:
Its I'm the forums for the Nexus S, it is now Gummy100. I'll reattach my framework when I get to a computer :P.

Nexus S (GSM i9020a)

GummyNex (9.0)

Matrix Kernel (CFS 19.0)

OC 1000/200 (Lionheart)

Deep Idle (Off - Noop)

v6 Supercharged
[Android Software Development] Kurupt1:
Sent donation matt. Expect a new framework soon ;-)

EDIT: I finally got everything compiled with no errors!!!! Wooooo. Now for rezising. :(
[Android Software Development] mattmanwrx:
well I went to this thread http://xdaforums.com/showthread.php?t=1486303 and it says Gummy 101, so I'll wait for you to upload the framework-res.apk and I'll take a look at that!

Thanks very much, much appreciated!

The sizing is on the first page of this thread, it is easy! I changed it to what is stated on there!

Happy modding! :)
[Android Software Development] alfry:
my framework-res.apk modified.. not function
[Android Software Development] mattmanwrx:
Just as i said, i haven't had any soft buttons work with Samsung roms...
[Android Software Development] 309041291a:
I'm sorry that I haven't uploaded it yet... The ROM is giving me radio issues so it is pretty much unusable. As soon as the issue is resolved, if you are still willing I will upload the file right away!

Nexus S (GSM i9020a)

GummyNex (9.0)

Matrix Kernel (CFS 18.5)

OC 1000/200 (smartassv2)

Deep Idle (Off - Noop)

v6 Supercharged
[Android Software Development] 309041291a:
Well, I am pretty much giving up on ever being able to use GummyNex 100 +... So here is my current framework-res.apk file... I want the portrait view a little* smaller (by about 1 mm), and the landscape ones gone please :P.

Last time I tried to change it, I got pushed to a boot loop... So I'm doing a NANDROID backup right now just in case. Thank you!

Framework:

View attachment 1014489
[Android Software Development] mattmanwrx:
Attached, usual rules apply! ;)
[Android Software Development] homi3kh:
can i have this framework-res.apk patched ^_^ would be really appreciated.
[Android Software Development] 309041291a:
*DELETED*
[Android Software Development] 309041291a:
I'm not sure why I keep boot looping... I cannot get it to go through.

All I want is a smaller portrait view (with the same icon sizes for the buttons) so it doesn't overlap the keyboard and The landscape view (navigation bar width) to be gone (or set to 0).

Whenever I try to replace it I get a boot loop... I am using a root explorer. What I do is I extract the framework, then make a copy to the root of my SD Card. Then I mount system (through the root explorer on my phone) and I copy (the copy of the framework that's on the root of the SD card) to "/system/media/". From there I change the permissions.

------- Read , Write , Execute

User - (check) (check) (blank)

Group - (check) (blank) (blank)

Other - (check) (blank) (blank)

Permissions: RW- R-- R--

Then after I do that I move (not copy) the framework-res.apk to /system/framework/. It tells me I have to overwrite it, so I say yes. From here sometimes I get a message that tells me I cannot move the file. Then I'd try to delete it but I'll get a message that tells me I can't do that either. So I'll try to move it back to get a message that says I can't do that either. So I end up restoring from a NANDROID. I would try it again after. If it didn't give me the message that says I can't replace it or whatever, the phone would become unresponsive. I could feel haptic feedback on the first click but then nothing. And then it gets kicked into the boot loop.

Am I doing something wrong...? I am probably doing something wrong that is very obvious lol :P.

Here is a newer framework-res (View attachment framework-res.apk) because my older ROM wouldn't let me send SMS... If you want to try again, that would be MUCH thanked :P.
[Android Software Development] nellycruzz:
Can someone make this workable with the latest Ics Passion rom for the Samsung vibrant?
[Android Software Development] mattmanwrx:
Not doing anything wrong... The way I would do it is to just paste over the old framework-res, but I think that will work as I was S-OFF on my desire...

Root Explorer - I would mount the system R/W (top right hand corner), then just paste over the framework-res.apk and the permissions should be fine...

You could try using a flashable.zip that someone has already made, and just copy the framework-res.apk into the .zip (and saving using the compression "store")...

Attached is newest for you to try...

You could help a bit by attaching your framework-res.apk :rolleyes:

If it is pure AOSP then I might be able to, if it is samsung rom, then no, I havent got any to work!
[Android Software Development] kubson1999:
Could someone edit this file? Those in this topic do not work, gets bootlop

http://db.tt/04AZ1bFD
[Android Software Development] mattmanwrx:
attached, usual rules apply...

Sorry for delay!
[Android Software Development] kubson1999:
Thanks, but i have bootlop.

Cm9 4.0.4
[Android Software Development] mattmanwrx:
The framework u uploaded, was that from your current rom or have you upgraded since then?
[Android Software Development] kubson1999:
I installed a new Bulid. He tried several times to do it and the same, always bootlop. This is the latest version, I might try again

http://db.tt/04AZ1bFD

Thx
[Android Software Development] mattmanwrx:
try this one based on the latest framework you gave me!
[Android Software Development] chudy_85:
Thank's for this guide it's work on deodexed XXLPS SGS2 with apex launcher

of course, point to reputation

ps i have problem with dialer i have half of the icons call videocall itd
[Android Software Development] plegdroid:
Just like to say "Thank You "for the know how, works as expected on Skate 4.0.4 .:)
[Android Software Development] chudy_85:
can sombody help me with this problem???

http://xdaforums.com/showthread.php?t=1632018
[Android Software Development] RileyGrant:
to everyone getting the errors who says updating aapt isnt working, make sure you swap the one in the sdk with the one from this thread. Then make sure its swapped in your apktool folder, and just to be safe, drop the aapt from this file in the root of your C drive if youre on windows. After following those steps, it now compiles successfully.
[Android Software Development] Futur Innovations:
But you could theoretically add it to an aosp ROM, right?

~=[,,_,,]:3 <----nyancat :D
[Android Software Development] sixfearstheseven:
It's compiling now thanks to the new aapt, but the final size is 3mb smaller than the original and all I'm changing is a FALSE to a TRUE.

I changed the compression level to 0 and heap size to 512 after reading in another thread that the default 9 and 64 can cause problems, but the only difference it made is that it's now 2mb smaller instead of 3mb.

Seriously, why is this so difficult? This should not be this hard.
[Android Software Development] sixfearstheseven:
I give up...for now.

Discovered that when compiling, all the values folders are excluded. That's why the new apk is so much smaller than the original. Have no idea why they are not being included, and have no idea how to include them.
[Android Software Development] GazaIan:
No, Gingerbread never had support for on screen buttons.

---------- Post added at 09:52 PM ---------- Previous post was at 09:47 PM ----------

Is that really why? They're usually just hidden. I recompiled successfully and got a framework that was 3 megs smaller -_- and I pushed it and it booted, but my changes weren't applied. I decompiled it again and everything was there, including the troublesome values folders. I came across an interesting post but didn't try it, you might have luck with it if I can find it.

---------- Post added at 09:56 PM ---------- Previous post was at 09:52 PM ----------

Here it is, but this is over a year old.

http://xdaforums.com/showpost.php?p=9126643#post9126643
[Android Software Development] sixfearstheseven:
Hmm maybe they are just hidden, but when I decompiled the edited framework, I didn't see the values folders.

I'm interested in seeing that post if you find it. What was it about?

Edit - That is interesting. I'm thinking that the image files used in the navigation bar are missing from the ROM I'm using and that's why it's not showing up.
[Android Software Development] sixfearstheseven:
http://xdaforums.com/showthread.php?p=20072544

This is an ICS ROM for the Nexus S. What caught my attention was a flashable zip he linked to that enables the on screen nav buttons. I'm looking at it now to see if I can somehow make this work on my Droid Incredible. If someone with more experience could take a look and offer some guidance, I'd be forever grateful. It might have the missing PNG files (if they're even missing).
[Android Software Development] GazaIan:
Won't work, it's a framework-res.apk swap and it will bootloop if you flash it. framework-res.apk is Android's most sensitive file, even a tiny little change could result in a whole brick.
[Android Software Development] sixfearstheseven:
My apologies, I didn't mean to use the framework that's in the zip, but instead, find the necessary files from within that framework, put them in mine, then put my framework in that zip and remove the old one, then flash.

After I posted I realized it wouldn't really make a difference if apktool isn't compiling properly for me.

Also, I stumbled across an awesome app earlier here on FDA (or xda, damn autocorrect) called Root Browser. Not only is it a root explorer, but it lets you explore inside apk files. I thought this was going to be the answer to all my problems (except for making my wife less b**chy) - I could open up framework-res without having to decompile, find the XML files that need to be altered, alter them right on my phone, save, reboot and presto! Navigation buttons! But...the values folder isn't there.

Is there a way to make the folder visible without decompiling?
[Android Software Development] sixfearstheseven:
Solved it, all thanks to Perka in the Apk Multi Tool thread...

http://xdaforums.com/showthread.php?p=20241778

When compiling, press y when prompted for system file, then y when prompted to transfer unmodded files. It will say "press any key to continue..." DON'T! First, go to APK multi tool directory and delete resources.resc from the Keep folder. Go back to the console and press any key. I used Droid Explorer for Windows to replace the apk and it FINALLY worked
[Android Software Development] cdesai:
If your phone has a big screen, or you have a tablet with ics, add this line in build.prop

ro.product.characteristics=tablet

(change to phone/default to get the original look back)

Some screenshots in my cm9 thread, in Galaxy Tab Development, check my profile for link (looks like hc)

From my fingers to your eyez
[Android Software Development] sixfearstheseven:
OG Galaxy Tab, or 10.1/8.9? Please say 10.1 and I'm just not seeing the thread.
[Android Software Development] sixfearstheseven:
Very minor issue: changing the dpi causes that blue little circle on the status bar to be off center (just above the back and home button in the screenshot)
[Android Software Development] cdesai:
Na, sry, OG :D
[Android Software Development] evilisto:
op updated :)

that is weird... nexus s doesn't have that problem.

anyway, i updated op and added about buttons resize. so you don't need to lower lcd density anymore. :D