yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Kurupt1:
Looks great, doesn't overlap at all!
[Android Software Development] mattmanwrx:
Lucky, it overlaps for me and i have to make them small...
[Android Software Development] evilisto:
op updated

wow this thread is still alive..:)

i fixed some images and downloads links in OP.

and added buttons sizes related tips(?) - i already posted this quite a while ago but haven't added in OP..
[Android Software Development] kssood:
so many devs but no one :(:(:(

can u give a tutorial or some help regarding making it possible on lg p500 aka lg optimus one
[Android Software Development] mattmanwrx:
The tutorial is on the first post...
[Android Software Development] eessel:
how WOULD i turn off these blue light ups if i wanted to? An option to disable the touch light ups?
[Android Software Development] mattmanwrx:
Just a guess, but it looks like they are in systemUI.apk

res,drawable-hdpi (for me) and are ic_sysbar_highlight.png and ic_sysbar_highlight_land.png

I wouldnt delete them, but change them to transparent so there is nothing to display when touched!!
[Android Software Development] eessel:
YOU sir..are a genius!!!! Thanks for all your help! :)
[Android Software Development] kenpen:
is there an apk i can install to give me the on screen button on my evo 3d running cm9 or zip i can flash.just looking for something simple

thanks
[Android Software Development] mattmanwrx:
No, you would need to follow the instructions of the opening post on this thread...
[Android Software Development] kenpen:
delete.sorry did not see question already posted
[Android Software Development] mattmanwrx:
Are u capable of Modding the .apk? If not upload your framework Res and I can take a look...
[Android Software Development] ksr007:
pleas mod 3 buttons for me !

here is my framework.apk : http://www.mediafire.com/?089sdy6825umak8

thanks you .
[Android Software Development] Smallville CK:
Please, me too.

Thanks :)

Sent from my Motorola Atrix
[Android Software Development] mattmanwrx:
I'll do these as soon as I have time, which isn't at the moment unfortunately...
[Android Software Development] ksr007:
i will wait, don't need quickly, thanks for your help ;)
[Android Software Development] reapsor:
Thanks for this great Guide, I did this for the latest Bugless Beast built for my Nexus S and it works flawlessly. :)

Also I have disabled the captivate buttons by using this Guide: http://xdaforums.com/showthread.php?t=1554111

Greetings
[Android Software Development] rafa6571:
Can you do it for me too please?

http://www.box.com/s/3f23a63bed289742e736
[Android Software Development] Chagrim:
I would really like to get help for this too! Haven't found softkey mod to Galaxy note anywhere ):

http://www.box.com/s/edf32830bdd417bd048f

http://www.box.com/s/78f7aab2b60a2fe276e4

Added link to tw-framework-res.apk (:
[Android Software Development] mattmanwrx:
Galaxy is Samsung, Samsung also has tw-framework-res.apk for touch wizz, that is also needed... but I have bad luck with Samsung files...

Anyway, will get round to it eventually... :)
[Android Software Development] mattmanwrx:
All downloads attached are .rar files, and therefore cannot be flashed. You will need to unpack the .rar and replace the framework-res.apk yourself!

I cannot test these, and do not know if they are working, please take a backup of your framework-res.apk and/or a nandroid backup!

There were errors compiling two of them;

ksr007

C:\Users\Webmaster\Desktop\apktool\apktool2>apktool b framework-res-ksr007
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in C:\Users\Webmaster\
Desktop\apktool\apktool2\framework-res-ksr007\res; found: en_US
aapt: warning: string 'policylab_allow_htmlemail' has no default translation in C:\Users\Webmaster\D
esktop\apktool\apktool2\framework-res-ksr007\res; found: en_US
aapt: warning: string 'wifi_p2p_pbc_go_negotiation_request_message' has no default translation in C:
\Users\Webmaster\Desktop\apktool\apktool2\framework-res-ksr007\res; found: en_GB
aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation in C:\Users\Webmaste
r\Desktop\apktool\apktool2\framework-res-ksr007\res; found: en_GB
aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no default translation in C:
\Users\Webmaster\Desktop\apktool\apktool2\framework-res-ksr007\res; found: en_GB
I: Building apk file...

and

Chagrim

C:\Users\Webmaster\Desktop\apktool\apktool2>apktool b framework-res-chargrin
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'gps_assisted_data_download' has no default translation in C:\Users\Webmaster\
Desktop\apktool\apktool2\framework-res-chargrin\res; found: ko
aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in C:\Users\Webmaster\
Desktop\apktool\apktool2\framework-res-chargrin\res; found: en_US
aapt: warning: string 'policylab_allow_htmlemail' has no default translation in C:\Users\Webmaster\D
esktop\apktool\apktool2\framework-res-chargrin\res; found: en_US
aapt: warning: string 'wifi_p2p_pbc_go_negotiation_request_message' has no default translation in C:
\Users\Webmaster\Desktop\apktool\apktool2\framework-res-chargrin\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation in C:\Users\Webmaste
r\Desktop\apktool\apktool2\framework-res-chargrin\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no default translation in C:
\Users\Webmaster\Desktop\apktool\apktool2\framework-res-chargrin\res; found: en_GB es pt
I: Building apk file...

They are just translation errors, which might mean if you use a certain language there may be translation errors!

Chagrim, yours can be found here (too big to upload to xda!)
[Android Software Development] Chagrim:
Thank you mate really really much! For the language point, I use Finnish, as I am from Finland (:
[Android Software Development] rafa6571:
mattmanwrx i replace the framework-res and reboot but then just doesnt boot so i flash my rom again... What happend?

I have a Galaxy Player 5 us... I didnt upload my tw-framework-res.apk cuz the rom doesnt has touchwizz but Is neccesary for all the samsung's devices even if it hasnt touchwizz?

Sorry for my english... But it's no my foreign language
[Android Software Development] mattmanwrx:
I'm not sure... if there are errors in framework-Res then it will not boot... a logcat might be good to see? Or try a dalvik wipe? Have you upgraded your rom since uploading framework-res here? Maybe upload it again and I'll try again, but can't promise anything...
[Android Software Development] rafa6571:
Before reflash i wipe cache and dalvik but doesnt work

I didnt update my rom since that so i dont know what can be wrong
[Android Software Development] mattmanwrx:
twframework-res only applies when the rom has touchwizz... so you wont have one.. upload your framework-res.apk again and ill take another look.. again, i cant promise anything, as i dont have the device to test on...
[Android Software Development] rafa6571:
Dont worry bro

I appreciate ur effort

Here is again

View attachment framework-res.apk
[Android Software Development] Chagrim:
By the way, you didn't send me the modified twframework-apk back :D Only normal framework-res.apk.. Just noticed as was going to give it a try.
[Android Software Development] Kurupt1:
Hey mattman! I have one more request if you have the time, and no rush what so ever, thanks for helping all of us out! This is from a cm9 rom, no more touchwiz:o

ps. If you could resize them like you do for your device, ive found certain things do overlap as well on mine. Really appreciate and take your time!

Thanks again!
[Android Software Development] mattmanwrx:
The twframework-res doesn't get modified... its only needed for the resource tables (which I'm now thinking framework-res doesn't even pull from)...
[Android Software Development] Chagrim:
Ahhh ok, thanks! (:
[Android Software Development] mattmanwrx:
rafa and kurupt attached - please choose your respective .rar files...

Same rules apply, dont flash and take a back up!! :)
[Android Software Development] charlie81:
can i please get you to do mine i can figure this out for nothing

this is from mijjah74 ics blend rom no TW
[Android Software Development] mattmanwrx:
same rules apply

Also an error building the apk, which are translation errors for es (spanish, I believe) & US (US english)... Error log included in the .rar
[Android Software Development] Quipper2008:
Hello,

is it possible to change the positions of the Buttons?
[Android Software Development] mattmanwrx:
Like home, then apps then back? I guess it is possible... what order did u want them?
[Android Software Development] Quipper2008:
Home, Recent Apps, Back

I saw in AOKP Rom its possible to change the order of the buttons in Settings menu and add the search and sub menu button.

Thats nice.
[Android Software Development] mattmanwrx:
That is nice.. but them people who build roms are geniuses, I wish I knew half the stuff they did.. :)

Anyway, what rom are you on? If you upload your framework Res.apk I can maybe try, but can't promise anything... :)
[Android Software Development] Quipper2008:
I am currently on latest CM9 Nightly.

I have made the software keys for my own.

You dont need to test it for me Thanks.

AOKP have nice options. I will give that ROM a try now.
[Android Software Development] mattmanwrx:
I was gonna try and move the

buttons, but I see you are capable of editing apk yourself...

Decompile systemui.apk and navigate to (I think) layout and open navigation_bar.XML and just change the order... it may work.. :)
[Android Software Development] rafa6571:
mattmanwrx doesnt work again... Thanks anyway

Maybe works on next builds
[Android Software Development] mattmanwrx:
Rafa, please try this one, I took a different approach and think this may work!

Same rules apply! :)
[Android Software Development] charlie81:
ok i unzipped replaced then rebooted but get stuck at boot animation what i do wrong
[Android Software Development] mattmanwrx:
Nothing... sometimes it doesnt work and I dont know why. It could be signatures not letting it boot, could really be anything...

I dont have the device to test on, but followed the tutorial...

Sorry I cannot help any further...

In fact, give me 5 mins i'll upload another for you try, but I suspect it could just be the same thing...
[Android Software Development] mattmanwrx:
Try this one, same errors as before, dont know if it will work... sale rules apply, take a back up!
[Android Software Development] kenpen:
Anyone have apk or zip I can flash for evo 3d cdma running cm9
[Android Software Development] mattmanwrx:
Upload framework-res.apk and I'll try it...
[Android Software Development] rafa6571:
get stuck at boot animation again
[Android Software Development] mattmanwrx:
OK, sorry I couldn't help anymore...
[Android Software Development] Quipper2008:
Okay i'll give it a try.

Another question. Do you know how to disable the Hardware Keys?

Turn off lights is no prolem but to disable is an other thing.

Cant find information about this.
[Android Software Development] mattmanwrx:
Sorry for belated reply...

in /system/usr/keylayout/ there is a file (for me) called bravo-keypad.kl, as I have a HTC desire (codename Bravo). There is also a Generic.kl... Maybe edit these and take out the hardware key you want to remove.

Also, in terminal or adb(with superuser permissions) you could use "getevent" to easily find out the key ID number... :)
[Android Software Development] Chagrim:
Mod not working in my Galaxy Note N7000 ): Stuck in bootloop.
[Android Software Development] mattmanwrx:
Yes, I can never get it to work for Samsung Devices, there is something strange about them! if you upload your framework-res again I can take a look... but it probably still wont work!
[Android Software Development] Chagrim:
That's what i fear off.. Damn TW.

http://www.box.com/s/e17cfc74e40ba7645379

http://www.box.com/s/734936e0f74a81ba3ce3

Here's the files again, and take your time (: Theres nothing to hurry about.
[Android Software Development] fisch5:
Hi got it working on my galaxy s2 and now iam wondering if there is a way to deactivate Thema original hardware Sensor keys and the homebutton?

Btw. Thx for the tut:)
[Android Software Development] :
Thanks a lot.:D I got the softbuttons working and they didn't overlap the keyboard:). The only problem is the lockscreen. Its mega-sized. I know everyone's been posting about this issue but I see no solution:(. My settings app is like a tablet's settings app. My notification bar is bigger. I just followed your tutorial and I did that additional step for WVGA, thats it.

Any fixes for these issues?:confused:
[Android Software Development] netwokz:
I did this on my shooter(Evo 3D). On my phone under /system/usr/keylayout/ I have generic.kl and amtel-touchscreen.kl. if you go in to the generic.kl and find your keys, just add a # in front of the key number, this will comment out the lines, thus disabling them. Most roms worked with just the generic.kl but on some I had to edit both. Hope this helps.

Sent from my Ice Creamed 3D
[Android Software Development] xdaco:
Hi.

It did not work on sense 3.6 ICS Framework though I compiled it successfully ...
[Android Software Development] mattmanwrx:
I have difficulties doing it for anything other than aosp (or based on aosp), for instance touchwizz Samsung framework is hit and miss for me... have no idea why... maybe try again?

Chagrim, not forgotten about you just very busy and don't have time for my laptop at the moment...
[Android Software Development] Chagrim:
Don't worry about it (: Maybe this file would help you little bit? It's ripped straigh from on Galaxy note theme for TW based ICS roms' Reason why i don't like to use it, becouse theme includes some icon changes, battery % mod, dialer mod, and some other little changes, but also have softkeys! So maybe you find something from it (:

http://www.box.com/s/9e54640aa740e7ede857
[Android Software Development] mattmanwrx:
Hi, I dont think it will help, as it just shows me that the false value is true... which is what I'm changing...

You can try the attached, there were the normal errors while compiling, attached in the .zip...

Fingers crossed for you, if it doesnt work, then I will have to say that I cannot do Touch Wizz ICS buttons... Sorry!

cant upload - clicky here :)
[Android Software Development] slapshot136:
I am trying to do the reverse, I have a HTC G2 and I am trying to remove the soft buttons (since I have capacitive buttons built-in), and I can't seem to re-compile the framework - I decompiled it successfully via apktool, but I can't recompile it, I have tried both apktool again (it gives lots of invalid resource errors), and I also tried APKmulti-tool, but I can't seem to figure out how to change the project on it
[Android Software Development] KBanause:
Why don't you just copy the framework files from your ROMs zip to your phone?
[Android Software Development] mattmanwrx:
What are the errors? Have you installed the framework? Is the Rom aosp or based on that (not sense)?
[Android Software Development] slapshot136:
I haven't installed the framework (or atleast I don't think I did.. are you referring to on the phone or on my computer?)

I am running this rom, not sure if it's aosp or sense based
[Android Software Development] mattmanwrx:
Ok, quick look and it seems to be based on CM's frameworks_base (as said in OP of that thread), so I'm guesing it isn't Sense...

To install framework (on computer) so that it knows where the resources should be go to your apktool folder and type

apktool if framework-res.apk

basically the if stands for install framework - which gives it the necessary resources... more info on apktool here

Give me two mins, I'll see if I can get what you want...

EDIT: it seems that they aren't on anyway...

<bool name="config_showNavigationBar">false</bool>

I downloaded audacityb2.zip from that thread...
[Android Software Development] alfry:
Guys, if in 2 hours (just download the tiramisu ends :)) I give you the framework-res.apk I can put the 3 buttons thanks =)
[Android Software Development] mattmanwrx:
not at that time, but if you upload the framework-res.apk I can take a look tomorrow...

one question, is it a sense or samsung (touchwizz) rom, if it is, please upload com.htc.resources.apk for sense, or twframework-res.apk for touchwizz - however, my samsung mods havent really worked, and havent tried a sense rom either... so may not work.. :)
[Android Software Development] alfry:
I have a samsung galaxy s (rom ics: tiramisu 1.8) ... Should I post the framework-res or twframework-res??
[Android Software Development] mattmanwrx:
Both, but I wont be able to *TRY* to till tomorrow... i state try, as I have only ever got the on screen buttons to work once for a samsung rom...
[Android Software Development] alfry:
For now I'm downloading the rom if I send you now install the framework .. if nor tomorrow; D
[Android Software Development] slapshot136:
I noticed that, yet I still have the soft buttons on my phone, so I changed the height to 0, hoping that it would make it go away

edit: I still can't seem to get this to work.. I have the following under users/me/apktool:

aapt.exe

apktool.bat

apktool.jar

framework-res.apk (which decompiles sucessfully)

/framework-res

/framework (which is created by the command apktool if framework-res.apk

if I do "apktool b framework-res framework2-res.apk I get all these errors:

C:\Users\me\apktool>apktool b framework-res framework2.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Users\me\apktool\framew
wable-sw600dp-hdpi
invalid resource directory name: C:\Users\me\apktool\framew
out-sw600dp

and a ton more invalid resource errors..
[Android Software Development] mattmanwrx:
Hmmm, never seen it done that way...

I have the three files, aapt.exe, apktool.jar and apktool.bat with the framework-res.apk in the apktool2 folder.

I'm on Win 7, and do it this way;

Navigate to my apktool folder

cd desktop/apktool/apktool2

The full path (for me) is now c:/users/webmaster/desktop/apktool/apktool2

Then install the framework

apktool if framework-res.apk -ICS

(the *-ICS* is a tag, if there are more than one frameworks installed you can use tags to decompile different apk's)

so then decompile the apk, using;

apktool d -t ICS framework-res.apk

(the -t ICS is the tag code, and then the taged code (here it is ICS))...

make relevant changes, i.e. change dimens.xml navigation bar height (and width for landscape) to 0

then compile again

apktool b framework-res

it will already have the framework tag so no need to use it again... that should then build.. if you have any further problems, please let me know, I migth be able to help more...

there is also an apktool thread where many people are able to help

Matt :)
[Android Software Development] slapshot136:
well I followed your instructions and I still can't build it, same error as before, here is my setup prior to the build command:

everything under apktool:

framework/1--ICS.apk

framework-res/the edited files

aapt.exe

apktool.bat

apktool.jar

framework-res.apk

am I supposed to decompile the 1--ICS.apk instead or move the original framework-res.apk out of the folder first?
[Android Software Development] mattmanwrx:
Are you on XP?

I've only ever done it with win7

leave framework--ICS in there, delete the framework-res folder, then decompile it again with the tag, and then compile without any changes... if that still deosnt work, then post the error here, or post in the apktool thread... :)
[Android Software Development] slapshot136:
running on windows 7 x64, I started with only 4 files: aapt.exe, apktool.bat, apktool.jar, and framework-res.apk

ran exactly this:

C:\Users\me\apktool>apktool if framework-res.apk -ICS
I: Framework installed to: C:\Users\me\apktool\framework\1--ICS.apk

C:\Users\me\apktool>apktool d -t ICS framework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...

C:\Users\me\apktool>apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Users\me\apktool\framework-res\
wable-sw600dp-hdpi
invalid resource directory name: C:\Users\me\apktool\framework-res\
out-sw600dp
invalid resource directory name: C:\Users\me\apktool\framework-res\
out-w600dp
invalid resource directory name: C:\Users\me\apktool\framework-res\
ues-h720dp

without touching anything, also tried with admin command prompt, no difference

I will post this in the apktool thread as well
[Android Software Development] mattmanwrx:
ok, other thing I can suggest is to use this modified apktool (not by me, I found it on xda) - if you note I cd into apktool2, and that is where this is, and I believe, has been modified for ICS...

should be attached
[Android Software Development] slapshot136:
and.. that worked (it gave me a .apk file) - now all I need to do is move it to my phone

edit: I got it on my phone, rebooted, but I still have the software buttons.. wtf

edit:2 I seem to be failing at putting the modified framework on the phone, am I supposed to do anything different then

adb push framework-res.apk /system/framework/framework-res.apk during recovery? or do I do it while the phone is running somehow? (I can't seem to chmod it via adb from read-only)
[Android Software Development] mattmanwrx:
when in recovery you mount the /system, yes?

personally, I would have used root explorer (my phone is s-off), or put it into a flashable.zip

I dont know the mtd layouts of your phone, but you could try using one of the flashable.zips from my website.. Just replace the framework-res.apk with one of my softkey mods and remember to use the store compression!!
[Android Software Development] alfry:
here's my framework-res.apk ... you can enter the 3 buttons ... thanks :)

Ah, and then ... to install this framework, what should I do??

thanks in advance

http://d-h.st/y0v
[Android Software Development] slapshot136:
well I got it (I didn't mount /system).. only my phone wouldn't boot - what do you mean by use "store compression"?

I tried installing Lock Screen Rotation Only + Auto Brightness Fix (thanks etomilin) (No ICS Soft Keys) as a zip in recovery, but I still got the soft keys
[Android Software Development] mattmanwrx:
I will take a look tomorrow... What is the rom? Aosp, sense or Samsung? If sense or Samsung then it may not work... And if sense I need com.HTC.resources and if Samsung I need twframework-res.apk...
[Android Software Development] mattmanwrx:
When making a flash.zip u have the choice for compression, and you need to have it as store, and not normal... If you google creating a flashable zip you will find it..

About the bootloop, if you run logcat you can see what is happening... It is probably a signature error... Not 100% sure what to do if it is.... Sorry...
[Android Software Development] alfry:
is a sgs 1 with Tiramisu ics 1.8 (based on CNA rom ...) and then ... I posted the framework-res. apk I have to post the well-twframework res.apk?

Ps: you may have a look today?
[Android Software Development] mattmanwrx:
Yes I need both...

Am out now so can't do it tonoight...

Probably won't work anyway, only even got one Samsung Rom working with soft buttons...
[Android Software Development] alfry:
is'' artificial'' because I mount a ROM mod ... I had to have it flash the samsungapps.zip
[Android Software Development] 309041291a:
Is it possible to disable the buttons in a landscape view?

Nexus S (GSM i9020a)

GummyNex (9.0)

Air Kernel (3.45)

OC 800/100 (Lionheart)

Live OC (100 -Noop)

v6 Supercharged
[Android Software Development] mattmanwrx:
Yes, change the dimen.xml navigation bar width to 0..

Will do other work tomorrow if i have...
[Android Software Development] alfry:
still nothing for me mattmanwrx ?
[Android Software Development] alfry:
So what?