[Tutorial] Customize soft key height / navigation bar resize

Search This thread

endleesss

Senior Member
Feb 19, 2011
117
16
This works on any Rooted Android device. I tried to make the guide easy for those who don't know much. Please backup before attempting this mod.

REQUIREMENTS:
1. ROOT
2. Install root browser on the device: https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree
3. Install Android Multitool the computer: http://www.mediafire.com/download/7px0d9i51cv5boc/AndroidMultitool_3.3.zip


TUTORIAL:
1. Use root browser and copy /system/framework/framework-res.apk to /sdcard
2. Save framework-res.apk from /sdcard to AndroidMultiTool Files folder in your computer
2. Now we need to Decompile the apk with AndroidMultiTool. Run AndroidMultiTool.exe
3. Under Decompling, select the framework-res.apk file and click decompile. Decompiled files will show up in Decompiled_apk folder
4. go to the folder Decompiled_apk/framework-res/res/values/
5. Open dimens.xml with notepad
6. change values for:
<dimen name="navigation_bar_height">48.0dip</dimen>
<dimen name="navigation_bar_height_landscape">48.0dip</dimen>
<dimen name="navigation_bar_width">42.0dip</dimen>
Use 25 for all dip values to match status bar; or use a bigger number for all three values to make them bigger. Then save.
7. Now we need to Compile the apk with AndroidMultiTool. Under Compiling, select the folder /decomplied_apk/framework-res and click OK. Then click compile. After it's done, you can close Android Multitool
8. Go to the original framework-res.apk in the Files folder and rename it to framework-res.zip
9. Open framework-res.zip and copy AndroidManifest.xml and META-INF folder to your desktop.
10. Go to compiled_apk/framework-res folder
11. Rename framework-res.apk to framework-res.apk.zip
12. Copy and replace AndroidManifest.xml and META-INF folder from your desktop in the framework-res.apk.zip
13. Rename framework-res.zip back to framework-res.apk
14. Copy framework-res.apk into your device /sdcard.
15. Then use root browers to copy and replace framework-res.apk into /system/framework
16. Your device will reboot by itself with the new smaller soft keys

REFERENCES AND THANKS TO:
Flextrick : http://xdaforums.com/nexus-4/themes-apps/mod-customize-navigationbar-height-t2306742
Flextrick : http://xdaforums.com/showthread.php?t=2326604
Charles Chow : http://chromloop.com/2013/07/how-to...on-bar-in-cyanogenmodcm10-1-on-nexus-4-guide/
 

honey8694

New member
Apr 16, 2016
1
0
its not working.

Under framework-res folder no sub folder res creating, and in android multi tool log showing 7 errors relating with java. please get back to me.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    This works on any Rooted Android device. I tried to make the guide easy for those who don't know much. Please backup before attempting this mod.

    REQUIREMENTS:
    1. ROOT
    2. Install root browser on the device: https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree
    3. Install Android Multitool the computer: http://www.mediafire.com/download/7px0d9i51cv5boc/AndroidMultitool_3.3.zip


    TUTORIAL:
    1. Use root browser and copy /system/framework/framework-res.apk to /sdcard
    2. Save framework-res.apk from /sdcard to AndroidMultiTool Files folder in your computer
    2. Now we need to Decompile the apk with AndroidMultiTool. Run AndroidMultiTool.exe
    3. Under Decompling, select the framework-res.apk file and click decompile. Decompiled files will show up in Decompiled_apk folder
    4. go to the folder Decompiled_apk/framework-res/res/values/
    5. Open dimens.xml with notepad
    6. change values for:
    <dimen name="navigation_bar_height">48.0dip</dimen>
    <dimen name="navigation_bar_height_landscape">48.0dip</dimen>
    <dimen name="navigation_bar_width">42.0dip</dimen>
    Use 25 for all dip values to match status bar; or use a bigger number for all three values to make them bigger. Then save.
    7. Now we need to Compile the apk with AndroidMultiTool. Under Compiling, select the folder /decomplied_apk/framework-res and click OK. Then click compile. After it's done, you can close Android Multitool
    8. Go to the original framework-res.apk in the Files folder and rename it to framework-res.zip
    9. Open framework-res.zip and copy AndroidManifest.xml and META-INF folder to your desktop.
    10. Go to compiled_apk/framework-res folder
    11. Rename framework-res.apk to framework-res.apk.zip
    12. Copy and replace AndroidManifest.xml and META-INF folder from your desktop in the framework-res.apk.zip
    13. Rename framework-res.zip back to framework-res.apk
    14. Copy framework-res.apk into your device /sdcard.
    15. Then use root browers to copy and replace framework-res.apk into /system/framework
    16. Your device will reboot by itself with the new smaller soft keys

    REFERENCES AND THANKS TO:
    Flextrick : http://xdaforums.com/nexus-4/themes-apps/mod-customize-navigationbar-height-t2306742
    Flextrick : http://xdaforums.com/showthread.php?t=2326604
    Charles Chow : http://chromloop.com/2013/07/how-to...on-bar-in-cyanogenmodcm10-1-on-nexus-4-guide/