Related
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
is this work for custom rom based on stock?
can you make it works?
tested on cm7 work now test it on stock rom and feed
To what size do we resize the soft buttons pictures?
And am guessing this would work on any device running cm7/cm9 right?
medicjunKie said:
To what size do we resize the soft buttons pictures?
And am guessing this would work on any device running cm7/cm9 right?
Click to expand...
Click to collapse
mdpi are sized to 76x76 for ldpi i have used 45x45 is perfect
medicjunKie said:
this would work on any device running cm7/cm9
Click to expand...
Click to collapse
tested on cm7 test on cm9 normaly work now feed and add it on thread for help avery one
How bout HDPI?
medicjunKie said:
How bout HDPI?
Click to expand...
Click to collapse
tree 112x112
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
spawk said:
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
Click to expand...
Click to collapse
Where is my credits man?
Inviato dal mio GT-S5570 con Tapatalk 2
where can I download the softbuttons png?
Using a zip software [7zip etc..] != decompiling.
if u dont see the values folder it's because u've not decompiled/decoded the apk but just extracted it.
need to use apktool.
Guys, just want to share. check my mods here:
http://forum.xda-developers.com/showthread.php?t=1649999
roofrider said:
Using a zip software [7zip etc..] != decompiling.
if u dont see the values folder it's because u've not decompiled/decoded the apk but just extracted it.
need to use apktool.
Click to expand...
Click to collapse
tested with apk tool and not find it but work after creat it
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
what if our rom (cm9) already has a bools.xml in res/values?
medicjunKie said:
what if our rom (cm9) already has a bools.xml in res/values?
Click to expand...
Click to collapse
bools.xml and value already existe in cm7 but with 7zip is nor find it but if you decompile with apk decompiler you find it
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
medicjunKie said:
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
Click to expand...
Click to collapse
yes if find it just add line creat it only if dont find it after extraction
where can i find res\values
exz8 said:
where can i find res\values
Click to expand...
Click to collapse
That's the directory lol
You find the folder values inside the folder res.
Make sure you decompile the apk.
Sent from my LG-E739 using Tapatalk 2
guys wherecan i found this entry file on a zip file of custom rom? for example when on CWM and installaing a zip(rom) when extracting the system i can see the names of ROM's developer, where can i find it?
It is written in the updater-script
You can find it in folder Meta-inf/com/google/android/updater-script
Majkio said:
It is written in the updater-script
You can find it in folder Meta-inf/com/google/android/updater-script
Click to expand...
Click to collapse
thank you
after i've edited the updadter-script via note pad, how can i compress it to its type file?
allenpot said:
thank you
after i've edited the updadter-script via note pad, how can i compress it to its type file?
Click to expand...
Click to collapse
No compressing needed... just edit and save...
allenpot said:
thank you
after i've edited the updadter-script via note pad, how can i compress it to its type file?
Click to expand...
Click to collapse
Don't edit via notepad. It wont work. Use Notepad++
My upcoming projects -
nOOb-Lite rom & CyanoETA rom, problem?
tj_droid said:
Don't edit via notepad. It wont work. Use Notepad++
My upcoming projects -
nOOb-Lite rom & CyanoETA rom, problem?
Click to expand...
Click to collapse
How to edit developers name and codename??
Andy96877 said:
How to edit developers name and codename??
Click to expand...
Click to collapse
Use root explorer or similar and go to /system/build.prop it contains the rom name, rom date and more info, just edit this file using root explorer (or similar)
Don't change important values!
Viper The Ripper said:
Use root explorer or similar and go to /system/build.prop it contains the rom name, rom date and more info, just edit this file using root explorer (or similar)
Don't change important values!
Click to expand...
Click to collapse
Sorry, but i have used this trick , bt it dont have developers name and codename in build.prop ... i edited android version and Gingerbread to kitkat bt cant find how to change developers name and codename ??
Developer Name not found
Majkio said:
It is written in the updater-script
You can find it in folder Meta-inf/com/google/android/updater-script
Click to expand...
Click to collapse
I searched for Developer's Name in this file, but unfortunatly didn't get it. But Developer's Name, his website, and images is showing in 'About Phone' in setting menu.
allenpot said:
guys wherecan i found this entry file on a zip file of custom rom? for example when on CWM and installaing a zip(rom) when extracting the system i can see the names of ROM's developer, where can i find it?
Click to expand...
Click to collapse
U can do that by Android Kitchen where therez an option to change the name of rom in build.prop
Hit Thanks if helped
allenpot said:
guys wherecan i found this entry file on a zip file of custom rom? for example when on CWM and installaing a zip(rom) when extracting the system i can see the names of ROM's developer, where can i find it?
Click to expand...
Click to collapse
What you see in CWM, during installation, is written in updater-script to the address:
meta-inf/com/google/android/updater-script
and looks like this:
ui_print("===============================");
ui_print(" Samsung Galaxy Ace S5830 ");
ui_print(" ");
ui_print("===============================");
ui_print(" blablabla by blablabla ");
ui_print(" ");
ui_print("===============================");
Open updater-script with Notepad ++
edit only text between (" ");
like:
Samsung Galaxy Ace S5830
blablabla by blablabla
Then, save.
To the next installation will appear in CWM the text reedited by you.
i have a few questions which after a lot of browsing also i cannot understand..
1) you know, all that stuff like v6 supercharger adrenaline,activo speeder and so on, what is the difference b/w all of these? which ones should i flash? and suppose it is already there in my rom how do i know about it? many people give different answers but im using blackdroid rom so along with that if anyone knows anything?
2) I recently found a rom whose font i really liked. if i wish to add that font in my current rom how do i do that? please keep it simple because i couldnt understand anything in other threads.
(PS to use font changer root do i need to extract the font from the rom?if so how?)
THANKS!!
v6 is available for just a few ROMs and setting it up isn't easy for novice users. If you have adrenaline engine, you can't flash anything else, because it gives bootloop. Activo is friendly to other scripts, so it's a choice for anybody who has no idea what should give bootloop.
For the font: wait for someone else, because I never change fonts
to change fonts all I do is use root explorer then goto system/fonts then replace DroidSans.ttf (this is the main font used by android) with the font you want to use and make sure you rename it to DroidSans.ttf and set permissions. you can also change all the fonts this way but just make sure you rename them and set permissions.. . do a nandroid backup just incase then reboot.
pryerlee said:
to change fonts all I do is use root explorer then goto system/fonts then replace DroidSans.ttf (this is the main font used by android) with the font you want to use and make sure you rename it to DroidSans.ttf and set permissions. you can also change all the fonts this way but just make sure you rename them and set permissions.. . do a nandroid backup just incase then reboot.
Click to expand...
Click to collapse
well i understood that, but what are he permissions to set?
Thanks this helped me a lot!
TheStormBreaker said:
well i understood that, but what are he permissions to set?
Thanks this helped me a lot!
Click to expand...
Click to collapse
(X)(x)()
(X)()()
(X)()()
X means put a thick there, () means don't.
Sent from my GT-S5570 using xda premium
If you want to know if there are scripts in Rom write to developer
In v1 of BL Rom I didn't add any scripts like this, but in v2 (you can find changelog on my thread) I added some useful
---------
You can also check it by looking in to system > etc > init.d folder
Sent from my GT-S5570 using xda app-developers app
BlackLie said:
If you want to know if there are scripts in Rom write to developer
In v1 of BL Rom I didn't add any scripts like this, but in v2 (you can find changelog on my thread) I added some useful
---------
You can also check it by looking in to system > etc > init.d folder
Sent from my GT-S5570 using xda app-developers app
Click to expand...
Click to collapse
Thanks! i didnt contact you because i thought you wouldnt like such questions...eek
anyway i was planning on using your rom but the launcher isnt working...but im sure you'll figure that out
i want to change tge icons in navbar for example i want to replace the home button with xperia logo , could anyone please guide me on how to do this?
Rzr92 said:
i want to change tge icons in navbar for example i want to replace the home button with xperia logo , could anyone please guide me on how to do this?
Click to expand...
Click to collapse
I use Nova launcher and I can do it with that
could you please tell me how to change it with nova launcher? I am also using nova but don't know the procedure to change the icons
I downloaded an app called Icon Finder Plus, then I chose an icon and save it to my phone. Exit the icon app, Then long press the button you want to change and it should come up with, (move/resize/edit). hit the edit and then the picture, then choose the icon you want and your done.
Cheers Rob
that only allows me to change the icons of apps
i want to change the softkeys (home,back nd recent apps button) how can i do that?
Rzr92 said:
that only allows me to change the icons of apps
i want to change the softkeys (home,back nd recent apps button) how can i do that?
Click to expand...
Click to collapse
softkeyz app
Is that app working fully?as i read on play store some people said it soft bricked their device
Rzr92 said:
i want to change tge icons in navbar for example i want to replace the home button with xperia logo , could anyone please guide me on how to do this?
Click to expand...
Click to collapse
Easy, give me a link to the logo you want to use.
Drummerjed said:
Easy, give me a link to the logo you want to use.
Click to expand...
Click to collapse
thanx alot but i dont have a link fir it
could you please make it with the xperia logo?...i mean instead of home button xperia should be written
and could you please teach me how to make this mod myself?
Rzr92 said:
thanx alot but i dont have a link fir it
could you please make it with the xperia logo?...i mean instead of home button xperia should be written
and could you please teach me how to make this mod myself?
Click to expand...
Click to collapse
Could you give me your SystemUI.apk (located in /system/app) and framework-res.apk (/system/framework)
Drummerjed said:
Could you give me your SystemUI.apk (located in /system/app) and framework-res.apk (/system/framework)
Click to expand...
Click to collapse
Yeah sure here they are : https://mega.co.nz/#!OEkjjBiY!N-h7WmPXdkvWZvuu540AlwruWr8vggqTuA2MQMbXXeM
and https://mega.co.nz/#!HYcFgIpT!GyGttAHGKS4nOdBAWfRm21wa_FUn60LPXUBW_T8o9k0
thanx alot
Rzr92 said:
Yeah sure here they are : https://mega.co.nz/#!OEkjjBiY!N-h7WmPXdkvWZvuu540AlwruWr8vggqTuA2MQMbXXeM
and https://mega.co.nz/#!HYcFgIpT!GyGttAHGKS4nOdBAWfRm21wa_FUn60LPXUBW_T8o9k0
thanx alot
Click to expand...
Click to collapse
@Rzr92 Backup first just in case then flash this - http://www.mediafire.com/download/mf880mjly42jcdm/Xperia_logo_softkeys.zip
For other users flash this - http://www.mediafire.com/download/7kiq7iczh7x3u90/Xperia_logo_softkey_universal.zip
[URL=http://www.mediafire.com/view/?vs23e6hxk451bzu]
[/URL]
Drummerjed said:
Backup first just in case then flash this - http://www.mediafire.com/download/mf880mjly42jcdm/Xperia_logo_softkeys.zip
Click to expand...
Click to collapse
It works thanx alot
could you explain how you did this?
Rzr92 said:
It works thanx alot
could you explain how you did this?
Click to expand...
Click to collapse
Yep sure. Basically all of the softkey images are PNG files stored inside SystemUI.apk. And it's really straight forward if you just want to replace PNG files such as battery, signal and softkey icons.
There are two ways, you can either decompile SystemUI.apk and replace the PNGs inside (harder, time consuming method) or use a program called 7zip to open the apk archive and replace the PNGs (easier, quick method).
I used the second method to replace the softkeys. Here's how to do it:
*Always backup in recovery before modifying files*
Install 7zip
Right click SystemUI.apk and select 7zip -> Open archive
You'll see a few files/folders, open 'res' then 'drawable-xxhdpi' you'll see lots of PNG files
The ones I replaced were 'ic_sysbar_home.png' and 'ic_sysbar_home_land.png'
Drag these two files to the Desktop and open them with Photoshop or any image editing software
Erase the existing image and replace with any other desired logo/icon and save (remember the background must be kept transparent)
Drag the edited files back into the SystemUI.apk archive (res->drawable-xxhdpi)
Then copy the edited SystemUI.apk back to your phone, then move it to /system, change permissions to rw- r-- r-- then move it to /system/app and overwrite when prompted (your phone will probably reboot, it's normal)
That's it!
Great guide for modding APKs here - http://forum.xda-developers.com/showthread.php?t=2295002
You rock man.. thanks alot
Center Clock
Drummerjed said:
@Rzr92 Backup first just in case then flash this - http://www.mediafire.com/download/mf880mjly42jcdm/Xperia_logo_softkeys.zip
For other users flash this - http://www.mediafire.com/download/7kiq7iczh7x3u90/Xperia_logo_softkey_universal.zip
[URL=http://www.mediafire.com/view/?vs23e6hxk451bzu]
[/URL]
Click to expand...
Click to collapse
Thanks !!!
Can you pls give me link for Center clock I need it Badly
4.2.2 FW 244 Pls help
Thanks in advance
netharshal13 said:
Thanks !!!
Can you pls give me link for Center clock I need it Badly
4.2.2 FW 244 Pls help
Thanks in advance
Click to expand...
Click to collapse
I'll give it a try, could you give me your SystemUI.apk and framework-res.apk
and also are you running stock rom?
Drummerjed said:
I'll give it a try, could you give me your SystemUI.apk and framework-res.apk
and also are you running stock rom?
Click to expand...
Click to collapse
Yes I am Running on Stock Rom 4.2.2 FW 244 Rooted
I found SystemUI.apk and Framework-res.apk, But i am not able to copy it to my PC plus i have ciopied it to sd card but not able to view on PC
Pls help Thanks
netharshal13 said:
Yes I am Running on Stock Rom 4.2.2 FW 244 Rooted
I found SystemUI.apk and Framework-res.apk, But i am not able to copy it to my PC plus i have ciopied it to sd card but not able to view on PC
Pls help Thanks
Click to expand...
Click to collapse
Use ES File Explorer and grant it root access, then find and long press each of the two files, select Copy, then paste them onto your external sd card or internal storage.
Drummerjed said:
Use ES File Explorer and grant it root access, then find and long press each of the two files, select Copy, then paste them onto your external sd card or internal storage.
Click to expand...
Click to collapse
Thanks !!!
Done :good:
Here are the links
http://d-h.st/MCK
http://d-h.st/4lG
after i install some apps like Andriod tweaker,pimp my rom and ... i notice that radio button and check box are stock andriod version so today i want change them to sony stock one like below screenshot sry for bad English:silly:
you need apk tool for decompile and recompiling
Lets do it:
decopmile framework-res.apk from framwork folder in system and go to:res/drawableand find all of XML that begin with semc_ like semc_bg_new.xml and copy them to other folder in you PC(not in framework-res.apk) so delete semc_ from all xml's(Except:semc_scrubber_x_x_x.xml )and replace them to drawable folder. After recopiling flash them to your phone(XV.XTX.XT)
befor flashing backup your files
press thanks
Behnamrend said:
after i install some apps like Andriod tweaker,pimp my rom and ... i notice that radio button and check box are stock andriod version so today i want change them to sony stock one like below screenshot sry for bad English:silly:
you need apk tool for decompile and recompiling
Lets do it:
decopmile framework-res.apk from framwork folder in system and go to:res/drawableand find all of XML that begin with semc_ like semc_bg_new.xml and copy them to other folder in you PC(not in framework-res.apk) so delete semc_ from all xml's(Except:semc_scrubber_x_x_x.xml )and replace them to drawable folder. before recopiling flash them to your phone(XV.XTX.XT)
After flashing backup your files
press thanks
Click to expand...
Click to collapse
Ok, thanks mate.
If you notice remarkable improvements using these tweaks, perharps could you create a new thread to share your experience.
nreuge said:
Ok, thanks mate.
If you notice remarkable improvements using these tweaks, perharps could you create a new thread to share your experience.
Click to expand...
Click to collapse
yep.but not this time.LOL