27th November 2011, 10:10 AM
(Last edited by evilisto; 1st March 2012 at 09:59 AM .)
Reason: add some more tweaks(?)
Senior Member -
OP
Thanks Meter
2228
Posts: 483
Join Date: Nov 2010
[HOWTO] enable on-screen buttons in ICS rom
sorry for my poor english..
i write this guide by request.
this is pretty simple thing..
1. decompile framework-res.apk
- you need apktool.jar 1.4.3 version to decompile ics apk.
download 1.4.3 :
http://code.google.com/p/android-apktool/downloads/list
download 1.4.2 :
http://code.google.com/p/android-apk...r.bz2&can=1&q=
(if you have problems with 1.4.3, use 1.4.2 instead)
2. open /res/values/bools.xml with a text editor
3. find "config_showNavigationBar" and set to true
4. to turn off capacitive buttons backlight, maybe you need to edit arrays.xml
- it does not work on my nexus s but seem to be working well on some other devices..
-----------------------------------------------------------------------------
* 5 [WVGA devices only] it would be better to slightly resize navigation bar height to avoid keyboard overlapping problem (see this post ).
(or you have to lower lcd density but that cause
app compatibility issues )
: open dimens.xml and find the line "navigation_bar_height".
and you need one more step to compensate buttons sizes.
download :
http://www.mediafire.com/?758mnayrlt3dee4
this zip include 4 png files. add those files to SystemUI.apk (/res/drawable-hdpi/) using 7-zip or other program. (replace original PNGs to these files).
-----------------------------------------------------------------------------
6. recompile
- you need new aapt.exe from latest platform-tools.
download :
http://www.mediafire.com/?0q52u6v8vdkpq1i
7. done
*if you don't know how to modify apk file, read this post first.
-
The Following 110 Users Say Thank You to evilisto For This Useful Post: [ Click to Expand ]
42mobile (19th December 2012),
9Lukas5 (31st March 2012),
Adde79 (14th March 2012),
AdhiTj (2nd October 2012),
adityalahiri13 (16th May 2013),
Adi_aishiteru (22nd September 2012),
Andersondj (22nd May 2012),
angel_boulevard (10th April 2012),
antonio1475 (27th November 2011),
Arya_3RDNumber (8th July 2012),
Attitude.SSJ (16th May 2013),
Bobguy21 (28th November 2011),
Bojan155 (21st May 2012),
boricua6 (17th August 2012),
chils41 (22nd April 2012),
chrjs (12th October 2012),
chudy_85 (2nd May 2012),
cjward23 (31st January 2012),
csking33 (24th June 2012),
dandrown (5th March 2012),
DaXmax (10th December 2011),
DeFcOn (10th December 2011),
dhana999 (13th March 2013),
Diablob555 (26th May 2012),
Diliban (6th July 2012),
DooMLoRD (18th December 2011),
dzatara (17th May 2012),
Erachter (29th July 2012),
evolutiontheory (30th April 2012),
Gena79 (3rd March 2012),
GeneralPag (30th March 2013),
ghekua (19th April 2012),
Hesam (3rd January 2013),
infamousteeboy (20th January 2012),
isavegas (19th September 2012),
IvanKurnia (5th August 2012),
janarthanan.v (1st September 2012),
jgrimberg1979 (20th December 2011),
Jon2555 (1st December 2011),
jonman11 (3rd March 2012),
jordiluna (26th November 2012),
kaijura (5th March 2012),
kalel2012 (15th December 2012),
kamrulahsan06 (11th December 2012),
kjaved373 (27th November 2011),
kobellza (21st January 2012),
kssood (4th August 2012),
kylesum (28th November 2011),
lesp4ul (6th December 2011),
LoLaTiOn (14th August 2012),
mangemayur (15th August 2012),
masamichi7 (14th April 2012),
mathewrice (25th July 2012),
matius44 (25th February 2012),
Mattix724 (12th October 2012),
maxio1998 (1st November 2012),
Mazda (21st January 2012),
mhkabir98 (12th April 2012),
MistaJae (23rd February 2012),
mlin (2nd February 2012),
Moscow_97 (14th July 2012),
Mukiai (15th August 2012),
myawan (3rd February 2012),
NastyNate208 (10th April 2012),
neko95 (15th July 2012),
numb_ (14th February 2012),
oikeakives (4th January 2012),
Oodie (23rd March 2012),
Orgasmatron (13th August 2012),
Perka (23rd December 2011),
Phillip Wu (1st January 2013),
plegdroid (5th June 2012),
polo2503 (9th July 2012),
PoorCollegeGuy (2nd February 2012),
PunGNU (1st January 2013),
qwerty875 (12th September 2012),
randi_mahage (4th August 2012),
razielpr (24th August 2012),
recreation012 (24th July 2012),
rkoby13 (20th December 2012),
ronak.super (16th July 2012),
santoshsadani009 (30th July 2012),
shadowdevil (12th June 2012),
shahi.persian (21st November 2012),
SlyRder83 (21st December 2011),
sonarchist (18th July 2012),
ssn1374 (12th March 2012),
stekarson (2nd May 2012),
syamsoul (8th June 2012),
Tetractys (27th July 2012),
The Epik Dude (23rd July 2012),
theDroidfanatic (19th June 2012),
The_Mechanic_Br (5th February 2012),
TopDroid (20th July 2012),
Traviizter (31st July 2012),
tualek kung (12th September 2012),
tuesdaydev (29th March 2012),
umarian (24th May 2012),
USMC0341 (30th July 2012),
UT36104 (5th July 2012),
Vasishta Reddy (12th December 2012),
vbhtt (7th June 2012),
vlt96 (22nd March 2012),
Vogie (29th January 2012),
vvvvv5 (29th June 2012),
x-dira (2nd April 2012),
yousefak (15th December 2011),
zard (14th July 2012),
zoneofSAM (6th August 2012)
28th November 2011, 05:24 PM
Senior Member
Thanks Meter
310
Posts: 1,946
Join Date: Jul 2010
Location: Munich
DONATE TO ME
Where did you get apktool 1.4.2?
Device: Nexus S i9023
Rom: rooted Stock 4.1.1
Device: ASUS Transformer Prime
Rom: stock ICS 4.0.3 (rooted but locked bootloader)
Follow me:
@KBanause
Visit: http://forum.oxygen.im/ . A forum by AdamG
28th November 2011, 11:09 PM
Senior Member
Thanks Meter
187
Posts: 858
Join Date: Aug 2011
Location: Wa State
DONATE TO ME
How would I disable the onscrwen keys in twlauncher 4. 5? Cause we already configured the ics keys to be our softkeus?
Sent from my SCH-I400 using xda premium
posted via esp with help from fingers
29th November 2011, 12:34 AM
Recognized Developer
Thanks Meter
657
Posts: 643
Join Date: Aug 2010
DONATE TO ME
Quote:
Originally Posted by
KBanause
Where did you get apktool 1.4.2?
yes interesting question
29th November 2011, 11:22 AM
Senior Member -
OP
Thanks Meter
2228
Posts: 483
Join Date: Nov 2010
Quote:
Originally Posted by
KBanause
Where did you get apktool 1.4.2?
here it is :
http://www.multiupload.com/YWJHOSZ7GJ
you can find it
here
Quote:
Originally Posted by
ciscogee
How would I disable the onscrwen keys in twlauncher 4. 5? Cause we already configured the ics keys to be our softkeus?
Sent from my SCH-I400 using xda premium
sorry but you'd better ask your rom dev to do it..
The Following 5 Users Say Thank You to evilisto For This Useful Post: [ Click to Expand ]
29th November 2011, 11:44 AM
Senior Member
Thanks Meter
310
Posts: 1,946
Join Date: Jul 2010
Location: Munich
DONATE TO ME
Quote:
Originally Posted by
evilisto
Thanks. At least I was able to recompile the framework-res.apk wothout any errors. Now I have to check if I can use it without bootloops
Device: Nexus S i9023
Rom: rooted Stock 4.1.1
Device: ASUS Transformer Prime
Rom: stock ICS 4.0.3 (rooted but locked bootloader)
Follow me:
@KBanause
Visit: http://forum.oxygen.im/ . A forum by AdamG
30th November 2011, 11:03 AM
Senior Member
Thanks Meter
2770
Posts: 3,329
Join Date: Sep 2010
Quote:
Originally Posted by
evilisto
Worked for me with this apktool
Edit: decompile that is
THX!
2nd December 2011, 12:29 PM
Senior Member
Thanks Meter
219
Posts: 453
Join Date: Apr 2010
Location: San Jose
DONATE TO ME
Could you got a little more in-depth on step 5? Whats the correct way to recompile the apk with aapt?
Software Engineer working on Android at Google. In my spare time, I hack on projects like
[APP][2.1+] StandOut - Create Floating Apps .
2nd December 2011, 03:00 PM
Senior Member -
OP
Thanks Meter
2228
Posts: 483
Join Date: Nov 2010
Quote:
Originally Posted by
pingpongboss
Could you got a little more in-depth on step 5? Whats the correct way to recompile the apk with aapt?
just put aapt.exe in the same folder as apktool.jar. that's all
The Following 2 Users Say Thank You to evilisto For This Useful Post: [ Click to Expand ]
3rd December 2011, 03:14 AM
Junior Member
Thanks Meter
0
Posts: 19
Join Date: Oct 2009
can someone please help me with using apktool and decompiling my framework-res?
Thread Tools
Search this Thread
Display Modes
Linear Mode
Most Thanked In This Thread
5 (quote)
here it is :
you can … 3 (quote) I cant re-upload
it, it was on … 3 The colors are only off
because I used … 2 (quote)
Backup first. Try
swapping the … 2 (quote) attached is
another for you, it …