I want to port language fonts from one ROM to other... Any idea how to do it?
the actual story is that i flashed Leedroid ROM and it had 'Urdu' language fonts... I want those to use in other Roms which don't have Urdu fonts... Almost all roms lack this font...:-/
Anyone knows which files are concerned with Urdu fonts in Leedroid ROM that I can port to or copy to other roms that don't have it?
jjdoctor said:
I want to port language fonts from one ROM to other... Any idea how to do it?
the actual story is that i flashed Leedroid ROM and it had 'Urdu' language fonts... I want those to use in other Roms which don't have Urdu fonts... Almost all roms lack this font...:-/
Anyone knows which files are concerned with Urdu fonts in Leedroid ROM that I can port to or copy to other roms that don't have it?
Click to expand...
Click to collapse
Hi,
Fonts can be found in phone/system/fonts.
It's just a thought,but you could copy the fonts from one ROM to another.
Should i copy all files from one ROM to other ...? No issues i hope....?
If i make a flashable zip from the fonts file that would contain two lib files... Do i need to insert wipe cache and delvik cache script with it or just format cache only or none?
jjdoctor said:
Should i copy all files from one ROM to other ...? No issues i hope....?
Click to expand...
Click to collapse
Hi,
When I looked in the fonts folder, there were not that many fonts.
Maybe, you can see which one is the one you want, and save it.
Having said that, they are all tff. files , so saving them all and copying them over should not do any harm.
Nandroid backup just to be sure.
Sent telepathically from my pyramid
Related
this is my first tutorial, i hope i can explain everything good enough
today i will tell you, how you can add more languages to samsung keyboard.
and how you can port swype to every rom.
needed files:
in folder /system/app from the latest official firmware
AxT9IME.apk (& AxT9IME.odex*)
in folder /system/etc/permissions from the latest official firmware
touchwiz.xml
in folder /system/lib from the latest official firmware
libdhwr.so
libXt9core.so
only if you want to port swype, these files:
in folder /system/app from the latest official firmware
Swype.apk (& Swype.odex*)
in folder /system/lib from the latest official firmware
libSwypeCore.so
----------
now let's start:
1. replace/add all needed files in your rom
2. you can find the languages you want to add to samsung keyboard in the folder /system/t9db
you will need 3 different files for one language.
for example:
to add german language in your rom, you need these 3 files:
phonepad_de.kdb
qwerty_de.kdb
Samsung_400_DEusUN_xt9.ldb
add the language you want to use to /system/t9db in your rom
3. there is a need to add all languages (acronyms) you can find in your new /system/t9db
to others.xml ( /system/csc )
for example:
the code in others.xml for english (en), german (de), french (fr), italian (it)
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<CustomerData>
<SettingsData>
<AudibleTouchTones>off</AudibleTouchTones>
<AudibleSelection>off</AudibleSelection>
<HapticFeedback>0</HapticFeedback>
</SettingsData>
<SamsungKeypad>
<inputlist>[COLOR="DarkBlue"][B]en(UK);en(US);de;fr;it;[/B][/COLOR]</inputlist>
</SamsungKeypad>
</CustomerData>
open /system/CSCFiles.txt
remove all lines with /system/T9DB/*
your cscfiles.txt should look similar like this:
Code:
/system/lib/libSwypeCore.so
/system/csc/contents.db
/system/csc/others.xml
/system/csc/feature.xml
/system/csc/sales_code.dat
/system/csc/customer.xml
/system/SW_Configuration.xml
/system/app/Swype.apk
/system/CSCFiles.txt
---------
thats all.
don't forget to set permissions.. clear dalvik and cache, reboot and write in your favorite language
nice work will try .
john9 said:
nice work will try .
Click to expand...
Click to collapse
i saw, that there are no csc files in aosp, cm9 and cm7...
so i have to add some more instructions to post#1
edit: done. correct me, if i have something forgotten.
if it is not working to port, i will try to fix it. if we can't port it, i will change the how-to to the simple "add languages"
maybe i will add a how to for adding languages to swype, but everybody can download the latest beta of swype on the website with much more included languages.
Dear texten.
I really did a deep study on this and i already done the things you mentiond.
However I have 2 problems.
1- the slide to change input langueges doesnt work.
2- arabic letters are not configured properly. It may due to font
Sent from my GT-I9001 using xda premium
CodeXpert said:
Dear texten.
I really did a deep study on this and i already done the things you mentiond.
However I have 2 problems.
1- the slide to change input langueges doesnt work.
2- arabic letters are not configured properly. It may due to font
Sent from my GT-I9001 using xda premium
Click to expand...
Click to collapse
hello mate.
to 1: do you mean the space bar in samsung keyboard to change language?
to 2: i think there is no arabic language pack
maybe you have add wrong language packs or wrong acronyms
i have successfully added language packs from kqg to kqb in my rom
texten said:
hello mate.
to 1: do you mean the space bar in samsung keyboard to change language?
to 2: i think there is no arabic language pack
maybe you have add wrong language packs or wrong acronyms
i have successfully added language packs from kqg to kqb in my rom
Click to expand...
Click to collapse
1 - Yes I mean the space bar,,
2- Roms that support Arabic languages are very rare we have only 2.3 and old 2.5 gingerbread from Samsung. havent received any updates since nov 2011
I really tried to port arabic languages from 2.5 to European Rom such us KQB. Took those files you mentioned + the whole csc folder + t9db + patched framework with araboc patch, but I failed
CodeXpert said:
1 - Yes I mean the space bar,,
2- Roms that support Arabic languages are very rare we have only 2.3 and old 2.5 gingerbread from Samsung. havent received any updates since nov 2011
I really tried to port arabic languages from 2.5 to European Rom such us KQB. Took those files you mentioned + the whole csc folder + t9db + patched framework with araboc patch, but I failed
Click to expand...
Click to collapse
it seems you made some mistakes in cscfiles.txt and/or others.xml
try with this files ,without the changes i made, from the firmware you grep the language pack.. just for testing
texten said:
it seems you made some mistakes in cscfiles.txt and/or others.xml
try with this files ,without the changes i made, from the firmware you grep the language pack.. just for testing
Click to expand...
Click to collapse
I will upload those files I managed to port and a flashable zip. You may find the solution though them
CodeXpert said:
I will upload those files I managed to port and a flashable zip. You may find the solution though them
Click to expand...
Click to collapse
ok i need all files , i have mentioned in post#1 - with the correct folder structure
edit: when i have more time, i will try this with cm9
well, i tried to port samsung keyboard to cm7.
there are much more changes needed as i thought.
so, i decided to change this tutorial.
maybe i will make a new thread only for "how to port samsung keyboard".
I've tried to port Samsung keyboard from 2.3 to CM9, it worked, but without xt9. Only QWERTY. On 3x4 layout I was able to type only numbers and symbols. When I've entered users' dictionary, it gave me FC. Logcat said language error. Don't have txt file at the moment.
przemcio510 said:
I've tried to port Samsung keyboard from 2.3 to CM9, it worked, but without xt9. Only QWERTY. On 3x4 layout I was able to type only numbers and symbols. When I've entered users' dictionary, it gave me FC. Logcat said language error. Don't have txt file at the moment.
Click to expand...
Click to collapse
for my port to cm7
samsung keyboard needs changes in the smali-files..
with the kernel of cm7. it is not able to vibrate.
many error output for vibrator.
texten said:
i saw, that there are no csc files in aosp, cm9 and cm7...
so i have to add some more instructions to post#1
edit: done. correct me, if i have something forgotten.
if it is not working to port, i will try to fix it. if we can't port it, i will change the how-to to the simple "add languages"
maybe i will add a how to for adding languages to swype, but everybody can download the latest beta of swype on the website with much more included languages.
Click to expand...
Click to collapse
Hate the keyboards which need full internet access, be aware that they may steal your passwords.
So to port swype is to just take those two files mentioned above and put it in any rom right? and will it work on cm9/cm10?
Juhan Jufri said:
So to port swype is to just take those two files mentioned above and put it in any rom right? and will it work on cm9/cm10?
Click to expand...
Click to collapse
Here you are pal: http://forum.xda-developers.com/showthread.php?t=2054414
[APP][ICS/JB] SWYPE BETA 1.3 for ALL devices and roms!
send from my card board box using ProjectStock 4.0
Can't find the files
I am trying to install arabic language support on galaxy note SweetROM v5 LSF but I can't find CSCfiles.txt at all
Is it OK to do the tutorial without having to edit CSCfiles.txt ??
Though I have found /System/csc/contents.db which contains similar links to system files with file size value, Should I try & edit that ??
Also others.xml doesn't have those lines mentioned in the tutorial, but there's language.xml file which have <languageSet> <Display> and <Input> <SupportList> tags .. Is that the file meant for editing?
Mohammed Atef said:
I am trying to install arabic language support on galaxy note SweetROM v5 LSF but I can't find CSCfiles.txt at all
Is it OK to do the tutorial without having to edit CSCfiles.txt ??
Though I have found /System/csc/contents.db which contains similar links to system files with file size value, Should I try & edit that ??
Also others.xml doesn't have those lines mentioned in the tutorial, but there's language.xml file which have <languageSet> <Display> and <Input> <SupportList> tags .. Is that the file meant for editing?
Click to expand...
Click to collapse
if you dont have these lines, just copy and paste. and edit the parts which are needed to add the new language. the tutorial works if you doing it step by step.
good luck
Hi guy, I think this instructions is only work with old version of Android and newer version maybe different. Any instructions of how to this on Android MM?
hi guys i want tamil font for my pico plz give some solution:crying:
Come on dude.. you know you'll have to give details.... like, which Rom you're using and etc etc...
btw, I think all stock RoMs support perfect Indian languages(you'll have to update it)...
If you're talking about custom roms ,then it's not possible fully as far as I know..
Because all Indian languages use complex scripts.. two letters to make one.. etc. Etc..
All cyanogen roms do have your language support, but you will not have proper rendering... you'll know what I mean, if you install it and see...
Some expert advice.....
use fonts in apps (tamil km,unpack it and take fonts out) and rename it to any name and put it in system/fonts
And then make the necessary changes in system/etc/fall_back fonts. xml..
Google it dude..
And even if you do all of this, you won't have proper rendering (conjuncts, grammar mistakes etc etc)...
For full rendering, you'll have to modify libskia.so and framework.jar... dev's work... anyone can become a dev now...
Try xda-university. Com
Sent from my HTC Explorer A310e using xda app-developers app
Works perfectly on jelly bean v3 Rom by bhargz for a similar language.
Will work for your language too.
Thank you
Thread closed on request
cm9 htc a310e k2.6
Hi.
I'd like to add language packs from a stock samsung rom to another samsung rom.
For example take all the languages from EU SGSII LTE and add them to SGSII LTE Skyrocket?
Is there some script or program or a non-time-consuming solution if all the apps (except for carrier bloat) ar the same?
bump?
¡Ԁwnq
Add the apk to the app directory in the rom. Just extract the two roms with 7zip and copy it from the rom it's in into the rom you want it in. Zip it up and flash it. Look for system/app.
Edit, if you really meant stock and not from zip's, You're on your own
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Deodex stock ROM.
Decompile the framework resources (system/framework/*.apk) and all the stock apps (/system/app/*.apk) from source and target builds.
Copy over all the language files (under eack APK at /res/values-*) to the target build.
Recompile all the framework resources and apps.
You can do it all app-by-app, if you want.
Lots of work.
ROM will grow significantly.
Can't be done without de+recompiling - language resources are XML.
jd1639 said:
Add the apk to the app directory in the rom. Just extract the two roms with 7zip and copy it from the rom it's in into the rom you want it in. Zip it up and flash it. Look for system/app.
Edit, if you really meant stock and not from zip's, You're on your own
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
Zip's are fine, but i've tried doing what you said, som time ago, and ended up with a bootloop. Thanks for the effort
Jack_R1 said:
Deodex stock ROM.
Decompile the framework resources (system/framework/*.apk) and all the stock apps (/system/app/*.apk) from source and target builds.
Copy over all the language files (under eack APK at /res/values-*) to the target build.
Recompile all the framework resources and apps.
You can do it all app-by-app, if you want.
Lots of work.
ROM will grow significantly.
Can't be done without de+recompiling - language resources are XML.
Click to expand...
Click to collapse
Yes that's what I thought. Do you know if I have to add language entries to the language chooser menu or will they pop up automatically?
Don't know the answer to that one... Sorry. I'd be interested to know that too.
Jack_R1 said:
Don't know the answer to that one... Sorry. I'd be interested to know that too.
Click to expand...
Click to collapse
I found some info on this problem:
http://forum.xda-developers.com/showthread.php?t=1924043
http://forum.xda-developers.com/showthread.php?t=1564694&highlight=tool
Lol sometimes it's easier to search by making a new thread and look what similar threads pop up
EDIT:
After some searching on the topic of adding languages to roms, batch decompiling of apk's etc i've found lots of useful info. I'll report back when i have anything to show...
New updateVanilla rootbox zip Available Now
Hi Guyz..
Today when i woke up and read my msgs those green similes were quite annoying me ..... so i decided to change them and i did change them..
For those people who dose not like android similes can do this..
Its quite easy and noob friendly... so here we go
1 MAKE A NANDROID BACKUP... GO TO RECOVERY FOR THIS
2 EXTRACT THESE 2 APK FROM THE ROM ZIP
For CyanogenMod users
system\app\mms.apk
system\framework\framework_res.apk
For Sense users
copy only
system\framework\framework_res.apk
These apks can also be get using any root explorer if you dont have ROM zip.
same destinations.. For example using Es File Explorer or Solid Explorer
3.After that extract the sense5.rar file that i have given to u.somewhere safe wher you can find that
4.Open your Rom files one by one lets start with Framework_res using winrar on pc
Now where to go?
res\drawable-mdpi\
Drag all the emotions from the folder that you have extracted from sense 5.rar these are all emotions you could see it and drop it in apk file that you have open at one side like shown in image one
5. Thats it now close the apk file
6 same with the mms apk
7 Now how to push it if you dont know how to use ADB
8 Download the zip named as flash
9 Open it using winrar
10 If uou want to flash mms then put it in sytem\app
And if you want to flash framework put it in system\framework and close the zip
Do not extract the zip
And compression level is normal dont change the settings just press on ok
11 Cyanogen user should Flash both files after editing and Sense users can flash framework only cuz mms.apk dosenot exist
12 For CM9 and cm 10.1 i have made a flashable zip just flash it and you are done NAMED as cm9 emo.zip for cm9 and cm10.1 for cm10.1 and cm10 for cm10 and xenon for xenon and rootbox for Vanilla Rootbox
AT THE END I DIDNT TEST IT ON SENSE BUT IT SHOULD WORK
And please be easy on me cuz this is my first tutorial
see guyz in this way you can also theme your rom like systemui.apk for statusbar
Might want to prefix the thread title with [Guide] so it doesn't look like you're asking how to.
Sent from Myushi
XperienceD said:
Might want to prefix the thread title with [Guide] so it doesn't look like you're asking how to.
Sent from Myushi
Click to expand...
Click to collapse
see now its ok? I hope so
harib12 said:
see now its ok? I hope so
Click to expand...
Click to collapse
I'd add a space between each, but its better. Will help those searching too. updating my guide at the weekend so will add it in.
Sent from Myushi
I am glad you like it
what about cm10?
i can give u if u want?
harib12 said:
i can give u if u want?
Click to expand...
Click to collapse
yes please!
In cm 10
i tried in cm 10.copied sense emoticons and replaced in drawable-mdpi.
after i replaced the framework-res.apk its starts rebooting and could not boot the rom keeps strucks on htc animation:crying:
help me to get sense emoticons in cm10 pls hlp me
udhayababu said:
i tried in cm 10.copied sense emoticons and replaced in drawable-mdpi.
after i replaced the framework-res.apk its starts rebooting and could not boot the rom keeps strucks on htc animation:crying:
help me to get sense emoticons in cm10 pls hlp me
Click to expand...
Click to collapse
The OP has not yet given us a flashable zip or files for cm10 .I think you misread the guide.the one that you've done is specific for phones running on the sense rom.. not cm10 .
As far as fixing the bootloop i think you should restore any previous nandroid backups through recovery or reflash the rom..
johnlohit1996 said:
The OP has not yet given us a flashable zip or files for cm10 .I think you misread the guide.the one that you've done is specific for phones running on the sense rom.. not cm10 .
As far as fixing the bootloop i think you should restore any previous nandroid backups through recovery or reflash the rom..
Click to expand...
Click to collapse
sorry for delaying i was ill
udhayababu said:
i tried in cm 10.copied sense emoticons and replaced in drawable-mdpi.
after i replaced the framework-res.apk its starts rebooting and could not boot the rom keeps strucks on htc animation:crying:
help me to get sense emoticons in cm10 pls hlp me
Click to expand...
Click to collapse
Just flash cm10 zip given my me nd everything will be fine
Thanks
Thanks for the flashable zip for cm10
Its not rebooting. I hope. So
New Update emo for Vanilla Rootbox
hey Vanilla Rootbox user check this out sense 5 emo for your rom it looks great!!
Hi guys, I read that the RomCleaner doesn't include the support for AOSP Roms....
May I know if there is any way to have RomCleaner work for removing apps in AOSP Roms?
(Tried the HTC One X CM_AOSP.txt, changed it into ROMCleaner_user.txt, but it doesn't seem to be working )
Your help is much appreciated
Babyhustle said:
Hi guys, I read that the RomCleaner doesn't include the support for AOSP Roms....
May I know if there is any way to have RomCleaner work for removing apps in AOSP Roms?
(Tried the HTC One X CM_AOSP.txt, changed it into ROMCleaner_user.txt, but it doesn't seem to be working )
Your help is much appreciated
Click to expand...
Click to collapse
try system app unistaller, or dx tool to uninstall system apps completely...
abuulala said:
try system app unistaller, or dx tool to uninstall system apps completely...
Click to expand...
Click to collapse
May I know if these are flashable zip files or apk's?
I am actually looking for a flashable zip file
Babyhustle said:
May I know if these are flashable zip files or apk's?
I am actually looking for a flashable zip file
Click to expand...
Click to collapse
these are apks but u can easily made flashable file of these, but will not work in recovery mode like aroma installer does.....u have to be inandroid to use these
Got the script worked
abuulala said:
these are apks but u can easily made flashable file of these, but will not work in recovery mode like aroma installer does.....u have to be inandroid to use these
Click to expand...
Click to collapse
Nevermind, I actually got the script worked for AOSP ROMS by replacing the txt files