In my opinion the navigation bar is very large. In AOKP there is an option to resize it. But sadly Cyanogenmod doesnt offer this option. So i googled a bit and found this thread:
http://xdaforums.com/showthread.php?t=1793096
This guy wrote a script to change the size of the Bar. Sadly it didnt work with Android 4.2.2. (Don't know what's about 4.2.1)
So i modified it a bit and then it worked perfectle.
What you need to do:
- Download the attached script
- Download apktool from http://code.google.com/p/android-apktool/ and place it in the same directory like the script.
- Get /system/framework/framework-res.apk from your device via adb pull or copy it with root explorer to your sd card and use mass storage
- Start the script (See below for detailed inscrutions)
- Backup your working framework-res.apk on your phone (Just in case if something went wrong)
- Replace /system/framework/framework-res.apk with the file the script created. (It has to be named "framework-res.apk of course!)
- Reboot. (I used fix permissions in clockwork mod, just in case if there are some permissions wrong)
Instructions for the Script:
Of course you need to install python.
On Linux you can make it executeable with chmod +x patch-framework.py and then run ./patch-framework.py.
Or you can just run python patch-framework.py.
I never tried to run python on Windows, so maybe somebody want to wrire instructions for it?
The script needs some parameters:
path to framework-res.apk
name of othe new framework
-h to show the help/usage
I started the script like this:
-w width of navigationbar
-s height of navigationbar
-sl height of navigationbar in landscape mode
Have fun with your smalle Navbar
Feel free to ask if you have questions
Thank you m11kkaa for doing the main work!
http://xdaforums.com/showthread.php?t=1793096
This guy wrote a script to change the size of the Bar. Sadly it didnt work with Android 4.2.2. (Don't know what's about 4.2.1)
So i modified it a bit and then it worked perfectle.
What you need to do:
- Download the attached script
- Download apktool from http://code.google.com/p/android-apktool/ and place it in the same directory like the script.
- Get /system/framework/framework-res.apk from your device via adb pull or copy it with root explorer to your sd card and use mass storage
- Start the script (See below for detailed inscrutions)
- Backup your working framework-res.apk on your phone (Just in case if something went wrong)
- Replace /system/framework/framework-res.apk with the file the script created. (It has to be named "framework-res.apk of course!)
- Reboot. (I used fix permissions in clockwork mod, just in case if there are some permissions wrong)
Instructions for the Script:
Of course you need to install python.
On Linux you can make it executeable with chmod +x patch-framework.py and then run ./patch-framework.py.
Or you can just run python patch-framework.py.
I never tried to run python on Windows, so maybe somebody want to wrire instructions for it?
The script needs some parameters:
path to framework-res.apk
name of othe new framework
-h to show the help/usage
I started the script like this:
Code:
./patch-framework.py -w 36.0 -s 36.0 -sl 36.0 framework-res.apk framework_new.apk
-s height of navigationbar
-sl height of navigationbar in landscape mode
Have fun with your smalle Navbar
Feel free to ask if you have questions
Thank you m11kkaa for doing the main work!
Attachments
Last edited: