Post Reply

[HOWTO] enable on-screen buttons in ICS rom

OP evilisto

27th November 2011, 10:10 AM   |  #1  
evilisto's Avatar
OP Senior Member
Thanks Meter: 2,348
 
486 posts
Join Date:Joined: Nov 2010



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.
-
Attached Thumbnails
Click image for larger version

Name:	howto-ics-buttons_01.jpg
Views:	25026
Size:	34.7 KB
ID:	796576   Click image for larger version

Name:	howto-ics-buttons_02.jpg
Views:	24723
Size:	30.1 KB
ID:	796577   Click image for larger version

Name:	howto-ics-buttons_03.png
Views:	19630
Size:	16.3 KB
ID:	817589  
Last edited by evilisto; 1st March 2012 at 09:59 AM. Reason: add some more tweaks(?)
The Following 116 Users Say Thank You to evilisto For This Useful Post: [ View ]
28th November 2011, 05:24 PM   |  #2  
KBanause's Avatar
Senior Member
Flag Munich
Thanks Meter: 342
 
1,981 posts
Join Date:Joined: Jul 2010
Donate to Me
More
Where did you get apktool 1.4.2?
28th November 2011, 11:09 PM   |  #3  
ciscogee's Avatar
Senior Member
Flag Wa State
Thanks Meter: 192
 
879 posts
Join Date:Joined: Aug 2011
Donate to Me
More
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
29th November 2011, 12:34 AM   |  #4  
Fr4gg0r's Avatar
Recognized Developer
Flag Bremen
Thanks Meter: 680
 
674 posts
Join Date:Joined: 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   |  #5  
evilisto's Avatar
OP Senior Member
Thanks Meter: 2,348
 
486 posts
Join Date:Joined: 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: [ View ]
29th November 2011, 11:44 AM   |  #6  
KBanause's Avatar
Senior Member
Flag Munich
Thanks Meter: 342
 
1,981 posts
Join Date:Joined: Jul 2010
Donate to Me
More
Quote:
Originally Posted by evilisto

here it is : http://www.multiupload.com/YWJHOSZ7GJ

you can find it here

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
30th November 2011, 11:03 AM   |  #7  
Perka's Avatar
Senior Member
Thanks Meter: 3,136
 
3,596 posts
Join Date:Joined: Sep 2010
Quote:
Originally Posted by evilisto

here it is : http://www.multiupload.com/YWJHOSZ7GJ

you can find it here




sorry but you'd better ask your rom dev to do it..

Worked for me with this apktool

Edit: decompile that is

THX!
2nd December 2011, 12:29 PM   |  #8  
pingpongboss's Avatar
Senior Member
Flag San Jose
Thanks Meter: 289
 
517 posts
Join Date:Joined: Apr 2010
Donate to Me
Could you got a little more in-depth on step 5? Whats the correct way to recompile the apk with aapt?
2nd December 2011, 03:00 PM   |  #9  
evilisto's Avatar
OP Senior Member
Thanks Meter: 2,348
 
486 posts
Join Date:Joined: 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: [ View ]
3rd December 2011, 03:14 AM   |  #10  
Junior Member
Thanks Meter: 0
 
19 posts
Join Date:Joined: Oct 2009
can someone please help me with using apktool and decompiling my framework-res?

Post Reply Subscribe to Thread

Tags
ics on-screen buttons
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Software Development by ThreadRank