[Q] Modify symbols on Touchpal Beta v5 - Android Q&A, Help & Troubleshooting

I'been using the new Touchpal V5 beta for a few hours and it's one of the better keyboards out there at the moment.
http://forum.xda-developers.com/showthread.php?t=1926696
However there are a couple of things that I would like changing.
1. The default font used for the keyboard.
- I've managed to change this by modifying the apk and replacing the default touchpal font to the Roboto font.
This has improved the keyboard drastically, as can be seen in the screenshots.
2. I want to change the default symbols found on the main keyboard.
-I don't see a point of having quick access to the same symbols from the main keyboard interface, as can be seen in the screenshots.
So I would like to change the " ! ? , " symbols found in the pop up to something I use more often like " * £ ^ "
I've been looking through the decompiled apk and can't seem to the find the right file to edit (bare in mind, I'm still a noob)
Is this possible and if so, how?
All help is much appreciated.

I have the same problem. I'd like to mod the secondary characters for each key. For example, I would like to have "€" as a secondary character for the "E" key.
I'm not new to this kind of modding, but with TouchPal I can't figure out how to do it. I've decompiled the apk. In "assets" subdirectory there is an "assets.zip" file. Inside that zip there is "TouchPalResources.tprc". This .tprc file is actually an apk file and you can decompile it as usual.
I can't be sure, but I guess the keyboard layout (and secondary characters) could be in the png files inside "assets" subdirectory of "TouchPalResources.tprc". Those are not image files, they are some kind of binary files, I've opened them with a HeX editor.
At this point I'm stuck. I've searched through all the decompiled stuff, but I haven't found anything useful.
Does anybody know anything about this apk and these "png" files?
Could anyone mod the secondary characters and more in general the layout?
Thanks.

Related

[Q] Wierd system font

Hi to all,
my system font (like in the volume tab) is different form the stock ROM. I've searched forum for "system font", and read few of them, but noone mentioned the issue. can I change the system font somehow?
Thns
Search for NueFont
Thx... I didn't know, what am I looking for
Tried looking for Nuefont, but found nothing usefull. Are you sure it is NueFont?
I Have this font only when i'm changing volume...
If you're using a ROM which does not include Manila (or includes a custom version of Manila), you might be missing some font files (encoded in the _manila files). You can simply add the font files back into \Windows\Fonts (and not worry about the _manila files) in order to restore the fonts, but you'll need to know specifically which font the application is trying to use.
For the HTC Diamond-style volume changer and USB2PC connection dialog, the fonts needed are "HelveticaNeue LT 35 Thin" and "HelveticaNeue LT 55 Roman" (again which should be loaded properly if you're using Manila). I've attached them in the zip, so drop them into your \Windows\Fonts folder (no need to change the filenames) and see if that fixes the issue.
FONT
Thanks for help, however it didn't help. I've copied the font in win dir, in win\font dir... nothing happend. I've got advice to look in the registry in HKLM\sofware\MS\fontlink\systemLink, if there is two values... there was just one, so I filled the second one. Didn't helped...
Don know what to do...
nuefont will let you change the system font. you'll find it here http://www.nuerom.com/BlogEngine/page/nueFont.aspx
Thanx a lot.
Just in trouble to handle CJK fonts in PROven-3.1 rom.
DANDANA said:
nuefont will let you change the system font. you'll find it here http://www.nuerom.com/BlogEngine/page/nueFont.aspx
Click to expand...
Click to collapse

hack, hack, hack, all day long...

hey there...i was wondering if anyone could take a sec to help a n00b out...
i've been working on a rom (6.5 build 23544) using Ervius visual Kitchen for gene by BesFen for a few days...i've finally found all the packages i want and made a few ones myself...i made a test rom and its running well...
but there's still one huge hole left in my finished build...so i just needed some help i.e. needed to know a few things
1. where do i change the the default splash screen (the orange windows image) that pops up after the boot screen
2. where to replace the startup gif image and wav sound
3. how to set an external theme as my default and removing the inbuilt themes that come bundled with the 6.5 builds
4. how to change the default icons (i have an icon pack as well a cab file of the same)
5. if there is a way to set up a shutdown animation and splash screen in the kitchen before creating the rom
6. edit any other settings and tweaks while still in the kitchen phase
7. change the start menu icons for the softkey buttons and start menu
8. edit the taskbar and softkey bar to make it transparent on the today screen as well as inside the menu
9. remove default ringtones and replace them with our own
i tried searching the net and going through the posts here but i'm drawing blanks...
i'd appreciate any solutions that come my way!!
solutions!!
found a few solutions myself...a lil' help from the boards...
if anyone else is interested in them, here they are-
1. the splash screen can be changed by replacing the welcomehead.96.png in the "SYS\28230\dpi_96_resh_240_resv_320\COMMON\Redist_dpi_96_resh_240_resv_320\" folder file with your own
while you're at it, you could replace the complete.96.gif file too
*but make sure that you have edited your images to the correct format and resolution before making the changes
2. the animated.gif and bootuphtc.wav files in the "kitchen\OEM\OLDGENE\COMMON\OEMOPERATORS" folder can be replaced with your own
4. add your icons in the "kitchen\SYS\28230\dpi_96\COMMON\Base_DPI_96" folder thereby replacing the default icons
*make sure that the names of the icons you add to this folder is the same as the default icons
6. to change the rom's date and give it your own name, make changes in the "mxipupdate_OEMVERSION_100.provxml" file in the "kitchen\OEM\OLDGENE\COMMON\OEMVERSION" folder,
this can be done by opening the file in notepad and making your changes in the 'value' section
do correct me or suggest an easier method if known to you
as for problems 3,5,7,8 and 9...research and testing is underway...hope to get past that hurdle soon...
use the attached folder and put it inside OEM
solve your ringtone by editing the *.rgu file and initflashfiles.txt file available in this folder
solve your theme problem by editing the *.rgu file and initflashfiles.txt file available in this folder
Note: I have used two different mp3 file for ringtone n message notification
vaibhav_batra_the_techguy said:
use the attached folder and put it inside OEM
solve your ringtone by editing the *.rgu file and initflashfiles.txt file available in this folder
solve your theme problem by editing the *.rgu file and initflashfiles.txt file available in this folder
Note: I have used two different mp3 file for ringtone n message notification
Click to expand...
Click to collapse
tried it out and yeah it works...thanx!!
any idea about gettin transparent task bars and menu bars??
i wanted to make them completely transparent, not transluscent...
i've gotten transluscent ones working in the start menu but i can't do anything about the today screen!!
i am also searching how to add new theme...but i found this is..
http://forum.xda-developers.com/showthread.php?t=650463&highlight=theme
saurabh88 said:
i am also searching how to add new theme...but i found this is..
http://forum.xda-developers.com/showthread.php?t=650463&highlight=theme
Click to expand...
Click to collapse
you could just add the theme you want ( in .tsk format) in the kitchen\SYS\Themes_Lang_0409_DPI_96_RESH_240_RESV_320 folder...
tried it out and worked well...
all you have to do is go into settings\today\ when the phone starts and select which one you want...
as for setting your own theme as default...clueless...
guessing you have to extract all files from the theme and place them in the kitchen\dpi_96\COMMON\Base_DPI_96 folder and edit dsm and rgu's from somewhere to set it as default
personally...i've found a loophole to the whole theme problem (pardon the pun) so i don't bother with it anymore
more solutions...
3. to remove the inbuilt themes like dvf green, vera wang red, etc. etc. just delete the theme_dpi_96 folder in the kitchen\SYS\23544\dpi_96\COMMON folder...
to add your own themes copy the .tsk files into the kitchen\SYS\23544\dpi_96_resh_240_resv_320\0409\Themes_Lang_0409_DPI_96_RESH_240_RESV_320 folder and delete the inbuilt .tsk files you'll find there
*NOTE*
for those who want to have a modified theme, i suggest editing the .png images in the folder mentioned below...the ones with "classicblue" "default" and "black" at the start of their name to your preference and leaving the classicblue.tsk file untouched so that this theme becomes your own in case you install another theme and want to go back to your edited theme
7. edit the .png images in the kitchen\SYS\23544\dpi_96\COMMON\Base_DPI_96 folder...
the softkey icons are the ones with names like default_toolbarIconBubbleButton.png...they're all around the same area, so easy to find...
for editing, i suggest using photoshop of you have it, else an easier alternative is the paint.net editor available at http://paint.net
8. now i couldn't get a transparent taskbar and softkey bar on the today screen without using titanium but i did manage to get it to be fractionally more translucent but editing the .png files found in the folder mentioned above
i'll attach the files if needed...
my ROM's coming along so i'll keep you posted with more solutions as they come along...have fun cooking!!
Suggestion
Remove all landscape theme files, bcs no-one uses the GENE in landscape mode and it will make the ROM lighter in weight
vaibhav_batra_the_techguy said:
Remove all landscape theme files, bcs no-one uses the GENE in landscape mode and it will make the ROM lighter in weight
Click to expand...
Click to collapse
the rom i'm working on (and using for testing purposes) doesn't have landscape theme files...i've just added the wallpaper for kicks...
thanx for the input though...its weird getting 275 views and just 3 replies...

HELP Editing and creating NEW flipfont APKs

I am aware that there are other ways to edit the fonts on our phone, by replacing renaming the default font. This is NOT what I would like to accomplish.
Since the Galaxy S is the first android phone to use Flipfont, I think we should take advantage of it. It gives us a nice preview of the font in the built in menu option and is thus superior to the other methods.
I originally purchased the Bauhaus font from the market and made a backup of it through ASTRO. After pulling the file from my phone and putting it on the computer I started editing the file with Apk Manager 4.8 found here
Steps preformed
Copied original apk into place-apk-here-for-modding folder
Run script.bat and choose option 9 ***this maybe where the issue is as I may need to choose option 10 and include the dependancy if there is one for the flipfont apk.
replace bauhaus.ttf with a .ttf font of my choosing
edit all XML, yml and smali files to include the font name or font.ttf depending on the entry in the original file *** I did not change any of the other coding so again this maybe where the problem is, as I may need to change something else to have the font act properly.
Edit the last folder name in the smali folder tree from bauhaus to the name of my font
Replace font with custom font and replace the preview image with my own
Compile apk
Sign apk
Rename apk
install apk on my phone
After putting the apk on my phone and installing the file it shows up as expected in settings>Sound and Display>Font style. The font thumbnail shows up properly as does the font preview. The preview does show up a little larger then the other fonts and may be a sign that the font is not optimized properly or that I missed something in the XML.
After applying the font and restarting, the phone is extremely slow and the font does not show up, it shows the default font instead.
If anyone that knows more about XML or apk editing/creation can help it would be great.
I have included the edited font apk if you would like to download it and run it through Apk Manager 4.8. If you want to try it with the bauhaus or one of the other fonts you will need to buy it from the market and back it up. (trying not to break any rules here.)
CAUTION THE FOLLOWING FILE IS NOT MEANT FOR USE AND WILL CAUSE YOUR PHONE TO RUN SLOW!!!
Download Font APK
here is my contribution to the fonts package. I find these to be usable fonts in the Vibrant Android system.
When you wrote the apk and after installing a font, how it had slowed down the system on you and didn't change the font, well did you try writing a different font into it? i ran into a couple of fonts that said were applied using typefresh, but when the phone rebooted, it was just slow, and had gone back to the default system font.
renegadedj said:
here is my contribution to the fonts package. I find these to be usable fonts in the Vibrant Android system.
When you wrote the apk and after installing a font, how it had slowed down the system on you and didn't change the font, well did you try writing a different font into it? i ran into a couple of fonts that said were applied using typefresh, but when the phone rebooted, it was just slow, and had gone back to the default system font.
Click to expand...
Click to collapse
Well I have tried two different fonts so far, both .ttf and they both caused the system to slow down/hang when applied and restarted.
I will try some of the fonts you supplied and see if it makes a difference.
There must be something about certain fonts that causes the problem. I need to see if I can track that down as it will be important for writing the tutorial.
[EDIT][More info] Ok I took a closer look at the font that came with the Bauhaus akp
In the discription of the font it list:
OpenType Layout, Digitally Signed, TrueType Outlines
I know that opentype is a new format and that alot of the fonts for OpenType that I find are made by Monotype, the same people that make the fonts available for download. I think this may have something to do with it or maybe Im just grasping. :ºp
ritalin said:
Well I have tried two different fonts so far, both .ttf and they both caused the system to slow down/hang when applied and restarted.
I will try some of the fonts you supplied and see if it makes a difference.
There must be something about certain fonts that causes the problem. I need to see if I can track that down as it will be important for writing the tutorial.
[EDIT][More info] Ok I took a closer look at the font that came with the Bauhaus akp
In the discription of the font it list:
OpenType Layout, Digitally Signed, TrueType Outlines
I know that opentype is a new format and that alot of the fonts for OpenType that I find are made by Monotype, the same people that make the fonts available for download. I think this may have something to do with it or maybe Im just grasping. :ºp
Click to expand...
Click to collapse
well you may be on to something, because TypeFresh does not allow me to see ANY OpenType Fonts (.otf) and only TrueType. :-D
Ok so I was curious and did a little test. I took the bauhaus font from the apk and opened it up in FontCreator 5. I then took on of the fonts that had previously given me an issue and opened it up as well. Then I copied all of the fonts for each key from the problematic one and replaced the fonts in bauhaus with them. I saved the file with a new name and then went through all of the steps to create the APK file.
After the file was installed, I selected it and then rebooted. HAZA, it works. Well it kinda works. The font size is way too big, and its still running slow. I have a feeling that the proformance hit is caused by the size of the font.
I am going to resize all of the letters, numbers and symbols in FontCreater and try again. Will post back with results.
Few steps forward, few steps back.
First off I will say that the font is a little hard to read and too light, but this is just for testing so its not that big a deal right now.
Ok so I got hold of a font that about the same size as the Bauhaus font. After doing everything in the above posts and installing the font, the restart was a LITTLE bit faster. It still seems to choke for about a minute or so after the desktop first appears and the pass based lock screen is sometimes unresponsive on first try. Overall its running much better, but still not perfect.
Also some words see to get clipped off for no reason as you can see in the image attached on the text for the Astro bluetooth icon. Not sure why this is happening.

[Q]Edit strings.xml in APK files. Need help!

I looked everywhere tried every program from APK Edit, APK Tool, APK Manager, Eclipse and a few others, I cannot figure out how to edit the Strings.xml in APK files.
APK Edit and APK Tool / APK Manager just gives me issues when i try to edit the strings, when i finally get them changed over and push to the phone it doesn't install the .apk, tried this on two different devices with no change.
I'm making theme files but i require to edit the strings value so the names are different, and i'm using an OEM file as my base file.
When I edit the .apk with my themed graphics and go to install it, it always wants to overwrite the original, but i've found that others have been able to just rename the strings value to another name so it wouldn't replace it.
What i'm trying to do is not replace original skins in HTC sense 2.x. Since there installable they can be installed multiple times if there values are changed in strings.xml, allowing for massive customization options.
I need the developers community to show me how to do this, i've tried on my own and i've failed each time, and i also tried contacting the themers that have done this on there own but they refuse to help me.
I have a bunch of skins i'm working on but i can't render my skins and theme the apk files until i can do this
You guys are my last bit of help i can find.

[Q]Reliable guide to changing system font?

I am trying to change my default font to one that will read a number of diacritical characters not covered by the default Nexus 7 system font. I have read a number of threads that offer advice that seems incomplete and am looking for someone's list of actions that will definitely do this job or that can point me to a definitive guide to doing this.
My tablet is rooted, running 4.2.2. I have been downloading apps and fonts:
ASK keyboard to show these characters,
Font Installer and
Type Fresh,
ASK Pali font file,
DroidSansFallback.ttf and
Dejavu-fonts-ttf-2.33.
I had not looked into /system/fonts before now so I have nothing to compare its present population with, but it contains 41 .ttf files (Roboto, Droid and some others) and I have 21 Dejavu fonts waiting to be moved there!
I understand the default font is 'Roboto', but
what font will do what I want (have all diacritics)?
Will I need to swap between them in the normal course of events, and how?
Or rename some font to replace the default?
Is there a modifiable config file that names the default file?
Thanks for reading this far!
But what happened? Font Installer doesn't work for you?
RoberGalarga said:
But what happened? Font Installer doesn't work for you?
Click to expand...
Click to collapse
The bottom line is that all the Droid (and Roboto) files are in /system/font but the (originally missing) diacritic characters are not accessible via the ASK keyboard which show only squares when pressed appropriately.
I have loaded the Droid, Dejavu and Roboto fonts into my Mac and opened them via its Font Book app. When installing 'Roboto', the Font Book reported an error: it was a duplicate of Droid Sans Fallback, so it seems that that is what Font Installer does. Pity this is not made clear.
The required characters are in there, it seems, but are not found by the keyboard. I'll contact the developer thereof now (he groaned).
Thanks for the nudge!

Categories

Resources