[Script] Change Fonts - Android Themes

I've created a simple script to change fonts easily without much hassle
http://forum.xda-developers.com/showthread.php?p=10996994
PS : Hope this is not spamming, if it is kindly delete the post

Related

[Q] A little help with new MIUI Theme (warm space)

Hello,
Sorry for the inconvenience and sorry for my bad english!!
I'd like to edit the warm space theme... i read a lot of guide and I have modified a lot part of the theme... but now I have a problem with the widget and with no system app!! can you help me?
I change with succes all the string and image in the scene.xml call "botton" (like notes, calculator, photos ecc...), but when i try to change the "widget" i can't see my modify... For exemple I change the icon for the phone!! This is the procedure that i follow:
1. Rename the file miss_call.mtz in miss_call.zip and extract it
2. Change the file phone.png with the new one ( i have the same dimension for the two picture)
3. Rebuild the miss_call.mtz
4. Rebuild the com.miui.home.upside
5. Rebuild the warmspace.mtz
6. put into the smartphone and apply the theme
But when i go to the upside part of the theme the image icon for the phone it's always the old photo.png
The second problem is the follow:
if i put in the scene.xml the instruction for the twitter application it work good (component=com.twitter.android) but if i put the instruction for the facebook app it doesn't work (component=com.facebook.katana) and both of application are in /data/app!!!!! Can you tell me how can i do for have facebook button working?
Thanks and regards
Ivan
Sorry I have post in the wrong section...can the moderator move/delete the post?
Thanks

[LINKS][TIPS] Edit system files, ROM, Kernel

I'm gonna give links for various guides to edit these files
Remember, these files are most useful for theming or making ROMs so read on if you want to develop your own ROMs...:good:
A noobs guide for uot kitchen
http://forum.xda-developers.com/showthread.php?t=1676817
Full guide for editing systemui.apk and framework-res.apk and also making a custom rom
http://forum.xda-developers.com/showthread.php?t=2086771
Editing classes.dex inside services.jar
http://forum.xda-developers.com/showthread.php?t=2160478
Change status bar clock color
http://forum.xda-developers.com/showthread.php?t=549309
Make status bar transparent
http://forum.xda-developers.com/showthread.php?t=1891702
Battery Bar Mod
http://forum.xda-developers.com/showthread.php?t=1371330
Decompiling/Recompiling and Advance Theming of 9 PNG
http://forum.xda-developers.com/showthread.php?t=2254824
Android Theming(Big guide with lots of links)
http://forum.xda-developers.com/showthread.php?t=2069287
Build.prop edits
http://forum.xda-developers.com/showthread.php?t=2256588
ADB, Logcat for n00bs and newbies
http://forum.xda-developers.com/showthread.php?t=2141817
KERNEL DEVELOPMENT(Advanced User)
How to use Github
http://forum.xda-developers.com/showthread.php?t=1877040
Guides on building kernels
http://forum.xda-developers.com/showthread.php?t=1845099&highlight=build+kernel (More useful for BCM devices)
http://forum.xda-developers.com/showthread.php?t=2226199
http://forum.xda-developers.com/showthread.php?t=2152819 (Using NDK)
Add features to your kernel( from XDA-U)
http://xda-university.com/as-a-developer/adding-features-to-your-kernel
TIPS​
Tip-1
Enable CRT screen off animation in ur phone(Will not enable animation when screen is turned on)(does not work on S5830i)
Decompile framework-res.apk
go to res/values find bools.xml and open it.
[/B]
Change this
<bool name="config_animateScreenLights">true</bool>
to this
<bool name="config_animateScreenLights">false</bool>
If this does not work, look for detailed guide with editing of services.jar
Tip-2
Change your android version and name(just a superficial change!)
1. Open your explorer.
2. Go to system/
3. There's a file named "build.prop"
4. Long press and then open in text editor.
5. Find these-
ro.build.display.id - Build Number(Default: GINGERBREAD.XXLA2)
ro.build.version.release- Android version(Default: 2.3.6)
6. Edit, Save and Reboot!
Tip-3
Make status bar transparent(Only transparent for homescreen)
1. Decompile systemui.apk
2. Go to res/layout/status_bar,xml
3.Find android:background=FF000000 and change it to android:background=000000000 for full transparency and to android:background=5F000000 for half transparency.
4.If android:[email protected] statusbar_background (this name can be different) is present in status_bar.xml then you can find the image named statusbar_background in res/drawable-ldpi( or mdpi/hdpi depending on the device) and make that image transparent via image editors!
This simply means our status bar background is drawable and we are providing proper image for it!
Will add more tips soon!
Re: [LINKS][TIPS] Editing system files and more!
Thank js.. Very helpfull for a noob like me..
Sent from my GT-S6500D
thank you very much. it was helpful for me too.
Re: [LINKS][TIPS] Editing system files and more!
EvolutionHybrid said:
Thank js.. Very helpfull for a noob like me..
Sent from my GT-S6500D
Click to expand...
Click to collapse
eserguei said:
thank you very much. it was helpful for me too.
Click to expand...
Click to collapse
Quite strange that the guys who found it useful haven't bothered to atleast hit a small thanks button!
Sent from my Xperia Neo V using xda premium
Ghostfreak NB said:
Quite strange that the guys who found it useful haven't bothered to atleast hit a small thanks button!
Sent from my Xperia Neo V using xda premium
Click to expand...
Click to collapse
I did, but not to you
Also, is the CRT effect not able to be done on a Gingerbread-based stock rom? I decompiled my framework-res.apk with NinjaMorph but, I can't seem to find the dir [APK ROOT]/res/values nor the bools.xml file...
Another question, is it dangerous to my rom's stability if I use somebody else's framework-res.apk? (taking into account that my rom's backed up though, it's not really an issue )
Ah, my phone is a GT-S5830M (same as the GT-S5830i)
El_Dark said:
I did, but not to you
Also, is the CRT effect not able to be done on a Gingerbread-based stock rom? I decompiled my framework-res.apk with NinjaMorph but, I can't seem to find the dir [APK ROOT]/res/values nor the bools.xml file...
Another question, is it dangerous to my rom's stability if I use somebody else's framework-res.apk? (taking into account that my rom's backed up though, it's not really an issue )
Ah, my phone is a GT-S5830M (same as the GT-S5830i)
Click to expand...
Click to collapse
I am also S5830i user but this method won't work due to unknown reasons! I'll edit OP!
Otherwise it will work on other devices!
Don't replace framework-res.apk.. U'll get bricked.. If u are doing ui changes just take the pngs and replace in ur framework-res.apk! But make sure resolution is same as that of original one!
Sent from mass relay
El_Dark said:
Also, is the CRT effect not able to be done on a Gingerbread-based stock rom? I decompiled my framework-res.apk with NinjaMorph but, I can't seem to find the dir [APK ROOT]/res/values nor the bools.xml file...
Click to expand...
Click to collapse
It is yes, but you can only theme images it seems with NinjaMorph, which is why it doesn't list the folders that consist mainly of xmls, which can only be edited after being decompiled.
Was really a very easy n a extremely noov friendly tutorial.
Thnx guys!
Sent from my GT-I9100 using xda premium
VERY NICE GUIDE !!! Thanks a lot ,, many more to learn
Can u give a guide to add notification toggles in aosp ics
Sent from my GT-S5570 using xda premium
really helpful
thanks (pressed already)
How do I change the Model Number?
js2892 said:
I'm gonna give links for various guides to edit these files
Remember, these files are most useful for theming or making ROMs so read on if you want to develop your own ROMs...:good:
A noobs guide for uot kitchen
http://forum.xda-developers.com/showthread.php?t=1676817
Full guide for editing systemui.apk and framework-res.apk and also making a custom rom
http://forum.xda-developers.com/showthread.php?t=2086771
Editing classes.dex inside services.jar
http://forum.xda-developers.com/showthread.php?t=2160478
Change status bar clock color
http://forum.xda-developers.com/showthread.php?t=549309
Make status bar transparent
http://forum.xda-developers.com/showthread.php?t=1891702
Battery Bar Mod
http://forum.xda-developers.com/showthread.php?t=1371330
Decompiling/Recompiling and Advance Theming of 9 PNG
http://forum.xda-developers.com/showthread.php?t=2254824
Android Theming(Big guide with lots of links)
http://forum.xda-developers.com/showthread.php?t=2069287
Build.prop edits
http://forum.xda-developers.com/showthread.php?t=2256588
ADB, Logcat for n00bs and newbies
http://forum.xda-developers.com/showthread.php?t=2141817
KERNEL DEVELOPMENT(Advanced User)
How to use Github
http://forum.xda-developers.com/showthread.php?t=1877040
Guides on building kernels
http://forum.xda-developers.com/showthread.php?t=1845099&highlight=build+kernel (More useful for BCM devices)
http://forum.xda-developers.com/showthread.php?t=2226199
http://forum.xda-developers.com/showthread.php?t=2152819 (Using NDK)
Add features to your kernel( from XDA-U)
http://xda-university.com/as-a-developer/adding-features-to-your-kernel
TIPS​
Tip-1
Enable CRT screen off animation in ur phone(Will not enable animation when screen is turned on)(does not work on S5830i)
Decompile framework-res.apk
go to res/values find bools.xml and open it.
[/B]
Change this
<bool name="config_animateScreenLights">true</bool>
to this
<bool name="config_animateScreenLights">false</bool>
If this does not work, look for detailed guide with editing of services.jar
Tip-2
Change your android version and name(just a superficial change!)
1. Open your explorer.
2. Go to system/
3. There's a file named "build.prop"
4. Long press and then open in text editor.
5. Find these-
ro.build.display.id - Build Number(Default: GINGERBREAD.XXLA2)
ro.build.version.release- Android version(Default: 2.3.6)
6. Edit, Save and Reboot!
Tip-3
Make status bar transparent(Only transparent for homescreen)
1. Decompile systemui.apk
2. Go to res/layout/status_bar,xml
3.Find android:background=FF000000 and change it to android:background=000000000 for full transparency and to android:background=5F000000 for half transparency.
4.If android:[email protected] statusbar_background (this name can be different) is present in status_bar.xml then you can find the image named statusbar_background in res/drawable-ldpi( or mdpi/hdpi depending on the device) and make that image transparent via image editors!
This simply means our status bar background is drawable and we are providing proper image for it!
Will add more tips soon!
Click to expand...
Click to collapse
Hi,
How would I change the Model Number?
rasmutu said:
Hi,
How would I change the Model Number?
Click to expand...
Click to collapse
Please don't quote the whole OP.
go to system/build.prop
open the file and change value of ro.product.model
It seems good. I'm going to click. thank you!

[Q] noob questions

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

[GUIDE]How-to-make a CWM flashable .zip[For Newbs]

Things Needed:
-File you want to add to your phone.
-Base.zip
-7-zip
-Notepad++ OR linux text editor
Hello,
Newbs....this is the guide for making a flashable zip so that you can add or replace files to your phones(if you know what I mean).A few days ago I was faced with the challenge of making a guide for flashable zips.There were a few guides but most of them didnt work with me..So I decided to create my own!
Base.zip download link:http://www.mediafire.com/download.php?xkxpqd1en6faeg3
STEPS:
Directory Paths::silly:
(1) Download and place the Base.zip anywhere on your desktop;
(2) Right click on the file and choose: "7-Zip / Open archive".not extract just open it.Be careful
You should see two folders - META-INF and system.
Lets start with system folder.Double click it.In there you would put all the files you want to add or replace to your system.for eg.you want to add boot animation then you have to create sub folders within system folder.bootanimation.zip goes into media>system path.add files to their respective paths.
I hope you get the fundamentals...even i am not a pro in this....:laugh:
/system/app - all the apps you want to add
/system/framework/ - framework-res.apk, twframework-res.apk, android.policy.jar
/system/etc - vold.fstab, PowerOn.wav(this is the bootanimation sound)
/system/media - bootanimation.zip (custom Roms only)
/system/lib - libraries (_ _ _ _*.so)
The other file in the zip which is META.INF should be left unchanged as it is....
Voila...you dont even know it but you have made your first flashable zip....and boy this is the basics....:silly:
NOTE:This Guide doesnt make you a full fledged developer......:crying:
WHY?
The World of developing is a lot more complicated.....
Note from OP:
Haters shall always hate.If you hated this thread avoid it do not start spamming,flaming and offtopic....simply stay away from this thread!Press thanks If I helped you and lastly I am ready to answer all your questions:angel: no matter how absurd they are.No offence though.If you need I will simplify the process with screenshots....
Sayonara
Cheers,:good:
ExonakiDev
Thnx worked for me!!!!!
welcome!!!
Good guide
Although there is an easier method I know, but still nice one : thumb up:
Thanks Exondev , just a quick question .
You call it a cwm flashable zip , but I assume this is just fine for twrp too ?
all the best
rich
Hmm There are easier ways to create a zip, it takes me around a minute for me. It is all in the META-INF that is what drives to install in a flashable ZIP, if that is wrong it will not work and result in an error.
Thanks for the guide though.
ExonakiDev said:
Lets start with system folder. Double click it. In there you would put all the files you want to add or replace to your system. For example: You want to add a boot animation, then you have to create sub folders within system folder. bootanimation.zip goes into media>system path. Add files to their respective paths.
Click to expand...
Click to collapse
First, thank you for explaining this! You are awesome for it!!!
Second, Your punctuation is horrible, my only request is to fix it as I have. Meaning, put spaces after periods or your sentences will seem like file names instead of the start and stop of your sentences.
Thanks again because this helps a lot and please keep this advice in mind when making new posts as I look forward to seeing you post again for dev noobs who are just like me!!!
Thank you for your help and understanding that this lack of proper punctuation can (and will) confuse super noobs! Lololol
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
@whoamigriffiths:it should work for twrp as well...all the best try it
TearRoar said:
First, thank you for explaining this! You are awesome for it!!!
Second, Your punctuation is horrible, my only request is to fix it as I have. Meaning, put spaces after periods or your sentences will seem like file names instead of the start and stop of your sentences.
Thanks again because this helps a lot and please keep this advice in mind when making new posts as I look forward to seeing you post again for dev noobs who are just like me!!!
Thank you for your help and understanding that this lack of proper punctuation can (and will) confuse super noobs! Lololol
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
I will try to improve my vocabulary....thanks for the compliment though!
Want to make one from phone itself
http://forum.xda-developers.com/showthread.php?t=2530923

HELP!! Adding categories to settings.apk

we´re trying to change settings.apk to add new buttons but we dont find the settings_headings.xml in android 5 stock
How the new system works?
thanks.
file found, closing post

Categories

Resources