[GUIDE] Enable Softkeys in Statusbar on Cyanogenmod 7 [18.06.12]
[GUIDE] Enable Softkeys on statusbar on Cyanogenmo 7
Hello Ace - Community!
Since i saw a lot of ROMs with Softkeys in the statusbar enabled and all old guides wich you can find on xda are nearly all closed or deleted , i will show you guys how to enable them . But first a thanks to CoolCatGetHome who actually tells what if have to edit .
For Apocalypse Users notice : Itasoulas and I are already working on it! So please no spams about Apocalypse here!
Preparation:
- An open mind
- A rooted phone
- You must be on Cyanogenmod 7
- Time
- APK Manager : Download this one , it's mine i'm using now and it's working without problems
Download for APK manager :
http://www.mediafire.com/?eh6ihj58lafkltx
And notice to follow all steps to have no problems when you do anything!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Instruction:
- Step 1 - First Preparations :
Use a File manager wich supports root-browsing ( for example Rootexplorer ) and go to system/framework. There you will find framework-res.apk
Now copy the apk to your sd-card .
Connect your device to the pc .
And copy the apk to your pc homescreen .
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- Step 2 - Using APK Manager :
Download APK Manager .
Look at the link above or click here =>
http://www.mediafire.com/?eh6ihj58lafkltx
You should get this after you download the .rar file :
Open the .rar file with WinRar,WinZip or 7zip ( you can google these 2 programms if you don't have them)
Now extract the folder "apk manager" which is inside the .rar file
Inside the folder you will find some other folders.
Place your framework-res.apk into this folder here :
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- Step 3 - Decompile and edit the .apk:
Now start the Script.bat
And it will show you this :
Just press a key and skip it
Now you have to select your apk in order to do that , type 22 and press enter
and then type 1 and press enter
We have now select our project
Now type in 9 and press enter
Your apk will decompile now wait until it's finished.
You know when it's finished if you get the chance to type in a new action.
So now the editing:
After you decompile your .apk , go to your apk manager folder and go to projects.
In the projects folder you will find another folder called "framework-res"
Now go to res/values.
In the values folder we have to edit the bools.xml
Now open bools.xml with the good text editor like Notepad ++
After you opened the .xml you have to scroll down and make sure to have this to options set to "true"
So that's it you've enabled the softkeys!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- Step 4 - Compile and sign the .apk and make a flashable .zip:
So now make sure you've saved you changes in bools.xml
Now we're going back to the Script.bat ( if you've closed it just open it again and type 22 and select framework-res.apk ,should be 1)
So now we are going to compile the .apk
Type in 11 and press enter
now you will get a message after a time called : Is this a system apk ?
Type in " y " ( of course only y without the signs) and press enter
Another question will show up and again type in " y " and press enter
And now important don't close the Script.bat window and don't press a key
Now we are going into the apk manager folder again and there should be a keep folder
go into the keep folder and delete " resources.arsc "
Now go back to the Script.bat window and press a key
After that we should be again at the beginning where we can type in our commands
Now type in 12 to sign our apk
After the signing is completed close the " Script.bat " window and go to your apk manager folder and into " place-apk-here-for-modding "
There you will find " signedframework-res.apk " rename it to framework-res.apk
So now we are going to make a flashable .zip for your rom:
If already made a zip for you guys , download it here:
http://www.mediafire.com/?2t234w44dr2ck62
Now place your framework-res.apk into the zip under system/framework
And make sure to mount data and system before you flash it!
And also in the first screenshots you see i have the ICS - Softbuttons
In the default system theme there are some ugly system images for the buttons
So if you want to have ICS - Softbuttons images you have to edit your theme
or go to my thread and download some of my themes :
http://forum.xda-developers.com/show....php?t=1710742
Edit the Button order :
Quote:
Originally Posted by CoolCatGetHome
For changing locations of the home back menu etc keys go to status_bar.xml
Of systemui.apk and move the home_key or other one lines to other location of it
Sent from my GT-S5830 using xda premium
|
- Credits :
- CoolCatGetHome
- Google - for Android
- Samsung - for Samsung Galaxy Ace
- NutellaBanane - for this guide and for providing the needed tools