enable ics keys on any ics rom detailed guide

Search This thread

paintball23456

Senior Member
Nov 1, 2011
1,235
213
london
DO THIS AT YOUR OWN RISK MODDING FRAMEWORK IS DANGEROUS READ EVERYTHING BEFORE DOING ANYTHING
Im not responsible for bricks
your house burning down
your cat gone missing
or your phone blowing up :D


Ok this is NOT my idea here is the original thread http://xdaforums.com/showthread.php?t=1364757

first you will need the android sdk http://developer.android.com/sdk/index.html
you need to install it on your C: directory eg:/android/android sdk

notepad++ is needed to

7zip is also needed and you need to set it as default program for apks

and apktool http://code.google.com/p/android-ap...mmary+Uploaded+ReleaseDate+Size+DownloadCount use apktool 1.4.2 if you get problems with 1.4.3 you will need apktool installer and apktool once extracted put them in a folder in the C: directory and add them to path eg; C:/android/apktool/

THE ANDROID SDK AND APKTOOL NEED TO BE ADDED TO PATH OR NONE OF THIS WILL WORK!

lets get started!

the decompile

1: open command promt and type in
Code:
cd android
(make this folder b4 you start in your user)
2:then
Code:
adb remount
if you installed adb correctly it will say remount succeeded
3:then type this in
Code:
adb pull /system/framework/framework-res.apk
once its done pulling apk
go to android in your user and you will see (if you did it right) framework-res.apk
4: back to cmd and type in
Code:
apktool d framework-res.apk
let it do its stuff
once done goto android in your user and the apk will be decompiled there for you

the modding

1: open up framework-res click on res and scroll down to values open it and click on bools
2: open bools in notepad++ and find "config_showNavigationBar" and set to true
3: now open dimens and find "navigation_bar_height" and set to 34.0dip
4:if your running a kernel like glitch devils you can disable the touch key backlights using nstools
5: done!

the recompile

you will need to switch out the appt in the folder you put apktool and stuff eg:were i put mine C:/android/apktool/
new appt http://www.mediafire.com/?0q52u6v8vdkpq1i

1:switch out appt with the new one
2:goto cmd and type
Code:
apktool b framework-res
then press enter
3:if you did everything right (installing android sdk and apktool) this part should take about 5min
4:if the recompile succeeded kiss your self (joking)
5: open android in your user (NOT ON C: DRIVE) and click on framework-res you will see a new folder called "build" click on it and
you will se three files one of these is "AndroidManifest" leave that well alone open framework-res.apkin 7zip and drag the two folders in "build" into the apk again dont drag androidManifest once the modded filles are in the apk close 7zip

adb push it back to your phone

1:in command promt type
Code:
adb push framework-res.apk /system/framework/
2:when push is complete type
Code:
adb reboot
this will now reboot your phone :)
3: once booted up you should see the three touch keys at the bottom of your screen everything will look cramped
so goto market and download LCD Density Modder and change the dpi from 240 to 228 reboot and enjoy :)




obviously this guide is for NOOBS this is not my idea just wanted to give people a easier guide to modding framework
all credit goes to evilisto not me hope you do what you want!!!

this will also work on
nexus s
nexus one
galaxy s II
vibrant
crappy
and galaxy note
other phone you probably can but these are the only ones ive tried it on try on other phones at your on risk

happy modding
peace
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    DO THIS AT YOUR OWN RISK MODDING FRAMEWORK IS DANGEROUS READ EVERYTHING BEFORE DOING ANYTHING
    Im not responsible for bricks
    your house burning down
    your cat gone missing
    or your phone blowing up :D


    Ok this is NOT my idea here is the original thread http://xdaforums.com/showthread.php?t=1364757

    first you will need the android sdk http://developer.android.com/sdk/index.html
    you need to install it on your C: directory eg:/android/android sdk

    notepad++ is needed to

    7zip is also needed and you need to set it as default program for apks

    and apktool http://code.google.com/p/android-ap...mmary+Uploaded+ReleaseDate+Size+DownloadCount use apktool 1.4.2 if you get problems with 1.4.3 you will need apktool installer and apktool once extracted put them in a folder in the C: directory and add them to path eg; C:/android/apktool/

    THE ANDROID SDK AND APKTOOL NEED TO BE ADDED TO PATH OR NONE OF THIS WILL WORK!

    lets get started!

    the decompile

    1: open command promt and type in
    Code:
    cd android
    (make this folder b4 you start in your user)
    2:then
    Code:
    adb remount
    if you installed adb correctly it will say remount succeeded
    3:then type this in
    Code:
    adb pull /system/framework/framework-res.apk
    once its done pulling apk
    go to android in your user and you will see (if you did it right) framework-res.apk
    4: back to cmd and type in
    Code:
    apktool d framework-res.apk
    let it do its stuff
    once done goto android in your user and the apk will be decompiled there for you

    the modding

    1: open up framework-res click on res and scroll down to values open it and click on bools
    2: open bools in notepad++ and find "config_showNavigationBar" and set to true
    3: now open dimens and find "navigation_bar_height" and set to 34.0dip
    4:if your running a kernel like glitch devils you can disable the touch key backlights using nstools
    5: done!

    the recompile

    you will need to switch out the appt in the folder you put apktool and stuff eg:were i put mine C:/android/apktool/
    new appt http://www.mediafire.com/?0q52u6v8vdkpq1i

    1:switch out appt with the new one
    2:goto cmd and type
    Code:
    apktool b framework-res
    then press enter
    3:if you did everything right (installing android sdk and apktool) this part should take about 5min
    4:if the recompile succeeded kiss your self (joking)
    5: open android in your user (NOT ON C: DRIVE) and click on framework-res you will see a new folder called "build" click on it and
    you will se three files one of these is "AndroidManifest" leave that well alone open framework-res.apkin 7zip and drag the two folders in "build" into the apk again dont drag androidManifest once the modded filles are in the apk close 7zip

    adb push it back to your phone

    1:in command promt type
    Code:
    adb push framework-res.apk /system/framework/
    2:when push is complete type
    Code:
    adb reboot
    this will now reboot your phone :)
    3: once booted up you should see the three touch keys at the bottom of your screen everything will look cramped
    so goto market and download LCD Density Modder and change the dpi from 240 to 228 reboot and enjoy :)




    obviously this guide is for NOOBS this is not my idea just wanted to give people a easier guide to modding framework
    all credit goes to evilisto not me hope you do what you want!!!

    this will also work on
    nexus s
    nexus one
    galaxy s II
    vibrant
    crappy
    and galaxy note
    other phone you probably can but these are the only ones ive tried it on try on other phones at your on risk

    happy modding
    peace