[TUT][cyanogenMod 7] How to add soft button to your rom

spawk

Senior Member
Jul 10, 2011
1,734
1,124
0
Mons,Bergen
thank to autoradio for astuce

Hello all there is tut for all want to add soft button to Rom

is simple

decompile [7zip] framework-res.apk..go to res\values\ ...

in values creat an txt file name it bools.txt open with text editor and add



Code:
<bool name="cm_default_is_tablet">true</bool>
<bool name="cm_default_has_soft_buttons">true</bool>
save and rename bools.txt to bools.xml now

add PNG on drawable-mdpi and resize it [ PNG soft button pic it from ics or web ]

rezip your framwork-res.apk [ winrar right clic save zip rename it change zip by .apk
that all
and enjoy soft button

if you dont have soft button add him on drawable-mdpi and resize it and add it to drawable-ldpi that all

PS : if you dont find values folder in your framwork-res.apk just creat new folder name it values and creat bools.xml in values folder
 
Last edited:

a121232

Senior Member
Mar 1, 2012
644
126
0
Hanoi
Do I have to rename the PNG before resize? And how to resize?
After I add bools.xml, rezip, flash, my phone stucks on android logo :(
 
Last edited:

autoradio78

Senior Member
Jul 24, 2010
1,154
2,071
0
Figline Vegliaturo
decompile [7zip] framework-res.apk..go to res\values\ ...

in values creat an txt file name it bools.txt open with text editor and add



Code:
<bool name="cm_default_is_tablet">true</bool>
<bool name="cm_default_has_soft_buttons">true</bool>
save and rename bools.txt to bools.xml now
Where is my credits man?

Inviato dal mio GT-S5570 con Tapatalk 2
 

exz8

Senior Member
Mar 26, 2012
117
4
0
sorry. You're teaching an expert ppl make some difficulties for newbie as me to catch up. Can you guide for newbie as well.?
Tq
 

medicjunKie

Senior Member
Mar 3, 2012
1,043
270
0
So what, do i delete it and create a new bools.xml?
Or do i just add the lines you mention in the bools.xml that's already there?

Fyi, i decompiles framework-res.apk with APKTool.

Sent from my LG-E739 using Tapatalk 2
 

spawk

Senior Member
Jul 10, 2011
1,734
1,124
0
Mons,Bergen
So what, do i delete it and create a new bools.xml?
Or do i just add the lines you mention in the bools.xml that's already there?

Fyi, i decompiles framework-res.apk with APKTool.

Sent from my LG-E739 using Tapatalk 2
yes if find it just add line creat it only if dont find it after extraction