[Q] Modding MT6516 Phones - Android Software/Hacking General [Developers Only]

As you know there are a lot of Android phones with MT6516, most of them from China.
Would it be possible to edit the language files in the ROMs? I mean menus etc.
In fact, I know it is possible. I saw a guy putting additional languages in the ROMs (in fact editing the existing languages). He won't tell his secret because that is his business...
I would like to translate the language files because these phones coming from China does not contain several languages. In this way more people could use them in my country.
Any ideas how to edit the flash files (the lnaguages)?

So no one....
Thats interesting, because a lot of people here edit ROMs. Keepin in mind this fact, editing the language files houldn't be difficult.

Related

[Q] Adding fonts to WP7 ?

Hello, (first post!)
Got an HTC HD7 a few days ago in India and loving it overall.
Noticed that some text (in either emails, webpages, facebook etc) which use "indic" or "devanagri" or "hindi" (India) font show up as square blocks suggesting missing fonts.
Is there a way to add/install fonts now or do we need to wait for updates from MS?
Also, is there a kind of official location for user feedback for such things? social.microsoft.com forums will do?
Thanks,
Vishal
fonts: no.
social.microsoft.com: yes.
The Gate Keeper said:
fonts: no.
social.microsoft.com: yes.
Click to expand...
Click to collapse
Wow another incredible omission. Amazing how far backwards things have gone compared to Windows Mobile.
CSMR said:
Wow another incredible omission. Amazing how far backwards things have gone compared to Windows Mobile.
Click to expand...
Click to collapse
you're very quick to jump to conclusions... why would the end user need to install fonts? if it doesn't work in India yet it is because MS are still working on the language support. As they said already, asian countries (which include india if you know your geography) will get it mid to late 2011.
vishalrao said:
Is there a way to add/install fonts now or do we need to wait for updates from MS?
Click to expand...
Click to collapse
Developers can add any TrueType font (with Hindi or any other subsets) to their application (exactly as I did in UltiTran - will be available on market soon).
The simplest way to do this - it's an ExpressionBlend's FontManager.
The Gate Keeper said:
you're very quick to jump to conclusions... why would the end user need to install fonts? if it doesn't work in India yet it is because MS are still working on the language support. As they said already, asian countries (which include india if you know your geography) will get it mid to late 2011.
Click to expand...
Click to collapse
A constant refrain. Why would a user need x, where x is a standard feature of computing that has been in common use for decades.
If you know what a font is, you know why a user may want to install fonts. So that text in documents he views and composes can appear with those fonts.
The same goes for everything else. If you know what a file is, you know why a user may want to access files. If you know what multitasking is, you know why a user may want to have two tasks running simultaneously. And so on.
Sorry to go off on a tangent but this attitude is really dumbing down computing and may prevent the windows phone OS from ever being adequate.
of course i know what a font is. giving the end user ability to reach this sort of system wide tool though, they may as well just left us with windows mobile 6.5 rather than start from scratch.
in saying this, as i said before, MS are working on it for a uniform experience. otherwise you'll end up with some phones with some things and others without, which is what happened with windows mobile.
i'm not saying that we should dumb down the smart phones, but much of the general consumers don't really want to have to go to these lengths. that's not to say there aren't any, but if we were all like that, iPhone would definitely not have taken off.
Well, its mid past 2012, and do we have indic fonts on WP? Well, I guess they are not really bothered.
CSMR said:
A constant refrain. Why would a user need x, where x is a standard feature of computing that has been in common use for decades.
If you know what a font is, you know why a user may want to install fonts. So that text in documents he views and composes can appear with those fonts.
The same goes for everything else. If you know what a file is, you know why a user may want to access files. If you know what multitasking is, you know why a user may want to have two tasks running simultaneously. And so on.
Sorry to go off on a tangent but this attitude is really dumbing down computing and may prevent the windows phone OS from ever being adequate.
Click to expand...
Click to collapse
+1 with you on this.
WP7 to current 8 is simplified to point of being useless. I have wm6.5 to WP8 devices & can't believe how hard it is to achieve the most basic functions even with fully unlocked custom ROMs on WP7.8.
Font should be simple so people can add required support for specific fonts for things from sms to docx. Only reason many users found it all too hard back on wm6.5 is fact most people had lower level PC knowledge back then & Microsoft didn't make things any easier & know just omit features completely !
Wm6.5.5 stays my daily device & work standard platform for my company.

[Localization] [23-May-2011] Indian languages support - Telugu support 30% done!

Hi All,
I'm looking for a ROM which can support indian languages. I'm even watching google android forum. They didnt released any support towards indian languages. However, I found a work around with DroidSansFallback.ttf file. This is not rendering fully like how it will render in my system.
Can our ROM gurus include indian language support in terms of rendering & locale (I can support them for translation).
i've attached font which I'm using in my mobile. You need to replace this file with /system/fonts folder. You must have ROOT access.
Using command prompt:
adb remount
adb push DroidSansFallback.ttf /system/fonts
font must be located in the same folder
or you can replace with root explorer
then reboot your device
19-May-2011:
Finally i can able to get menu in Telugu language. I just converted 2% menu and it is working fine (only rendering issues are there). I'll try to finish convert whole menu in Telugu by this weekend .
23-May-2011:
I've added some more telugu translation based on rendering capabilities of Android. Finally decided to recompile code with harfbuzz but still looking help from a kernel compilers
19-July-2012
Good news that now Jelly Bean can render text properly in browser but still interface level rendering for Indian Languages not yet supported
PS: I'm really happy who can compile kernel with indic support .
I get this message;
you cannot paste here because the file system is read-only.
i am using root explorer
hnkumar said:
Hi All,
I'm looking for a ROM which can support indian languages. I'm even watching google android forum. They didnt released any support towards indian languages. However, I found a work around with DroidSansFallback.ttf file. This is not rendering fully like how it will render in my system.
Can our ROM gurus include indian language support in terms of rendering & locale (I can support them for translation).
i've attached font which I'm using in my mobile. You need to replace this file with /system/fonts folder. You must have ROOT access.
Using command prompt:
adb remount
adb push DroidSansFallback.ttf /system/fonts
font must be located in the same folder
or you can replace with root explorer
then reboot your device
Click to expand...
Click to collapse
itsme_4ucz said:
I get this message;
you cannot paste here because the file system is read-only.
i am using root explorer
Click to expand...
Click to collapse
use such nice one button in right up corner to mount system partition before u paste in Root Explorer.
Krzysiec said:
use such nice one button in right up corner to mount system partition before u paste in Root Explorer.
Click to expand...
Click to collapse
yup.. it sounds simple.. but for some people it dossnt work..
even i had the same problem .. you need to download a free app from the market called mount system r/w .. and then from the app just mount the system R/W and then you will be able to copy/paste..
wait i'll just upload it in a second
ok attached the app mount system r/w .. as its free in the market i dont think its against the laws to add it here
and if you want to say thanks there is a thanks button
update
Finally i can able to get menu in Telugu language. I just converted 2% menu and it is working fine (only rendering issues are there). I'll try to finish convert whole menu in Telugu by this weekend .
I'll publish framework-res.apk by end of this week which is belongs to MDJ's Cyanogenmod v1.4
Don't compliant about rendering, i'm seeking help from kernel developers
Update - 23rd May 2011
Added few screenshots of telugu menu . Will add some more screen by end of this week (most probably, i'll complete telugu translation).
I can't figure out if this is a Question thread, or if you're developing something...
NeoS2007 said:
I can't figure out if this is a Question thread, or if you're developing something...
Click to expand...
Click to collapse
Hi Neo,
this is not a question thread, I'm developing for my own mother language menu based on CM7 (at present). Ofcourse also I'm looking at some kernel developers, who can compile existing kernel (CM7 or HTC or Ultradroid) with Harfbuzz so indic languages also can render properly.
Wants to release ROM with proper telugu translation. It is just a first step to have a translation for Telugu. 2nd step is sorting out rendering issues with the help our kernel gurus.
Any plan to work on hindi language support?
Thanks....It's useful for some people..
amresh said:
Any plan to work on hindi language support?
Click to expand...
Click to collapse
Amresh, I'm not so good in Hindi. What I'm doing is preparing a master list of translation document. If anybody can help me to translate the whole thing into Hindi then I can able to support Hindi too .
Also, you must understand that still we are struggling for indic support . So rendering may not be proper .
hnkumar said:
Amresh, I'm not so good in Hindi. What I'm doing is preparing a master list of translation document. If anybody can help me to translate the whole thing into Hindi then I can able to support Hindi too .
Also, you must understand that still we are struggling for indic support . So rendering may not be proper .
Click to expand...
Click to collapse
No problem. Let me know if I can help in anyways for hindi support. I will try my best.
Sent from my Desire HD using XDA Premium App
Hi there guys.
Nice to know that I am not the only person interested in l18n of android. Do we have a separate forum / thread etc. where such things are discussed?
What the OP is trying to do is to "translate the UI", have I got you right?
But alongside that, we need proper fonts ( I guess the fonts are already there - Droidsansfallback posted by sridhar in some other thread - need to test it)m, AND rendering.
I just reading up on the whole thing, and just found that harfbuzz, a derivative / conjugate of pango is handling CTL (complex text layout) for other scripts. I would like to see CTL enabled by default in all apps ROMs. AFAICT, support for each script in Pango was modular, and it ought to be same way in harfbuzz too. This means developers are probably enabling modules only for the languages they are interested in. Probably, it is perceived that demand for support for Indic languages is not there?
BTW, on Linux desktop, CTL rendering is not in the Kernel - it is in the X applications.
amresh said:
Any plan to work on hindi language support?
Click to expand...
Click to collapse
I have Hindi working but no other languages.
Your phone must be rooted
I have attached a zip file.
Extract 2 fonts files from the zip and put them in System/fonts via root explorer
You may be asked to replace some file, just say yes.
reboot your phone
this should do it, that all i had to do.
Dev
genieass said:
Hi there guys.
Nice to know that I am not the only person interested in l18n of android. Do we have a separate forum / thread etc. where such things are discussed?
What the OP is trying to do is to "translate the UI", have I got you right?
But alongside that, we need proper fonts ( I guess the fonts are already there - Droidsansfallback posted by sridhar in some other thread - need to test it)m, AND rendering.
I just reading up on the whole thing, and just found that harfbuzz, a derivative / conjugate of pango is handling CTL (complex text layout) for other scripts. I would like to see CTL enabled by default in all apps ROMs. AFAICT, support for each script in Pango was modular, and it ought to be same way in harfbuzz too. This means developers are probably enabling modules only for the languages they are interested in. Probably, it is perceived that demand for support for Indic languages is not there?
BTW, on Linux desktop, CTL rendering is not in the Kernel - it is in the X applications.
Click to expand...
Click to collapse
Geineass - It is not just "translate the UI". It is proper rendering system for Indic languages. I don't know about Linux but in Android most of the system rendering use base rendering system. By tweaking a small part of rending system, can show proper rendering whole system. Due to some personal reasons, I couldn't able to work on this. Rendering engineers can help us here. I agree in most of the forums that most of "Indian" engineers works in Android / Iphone / Symbian / other systems but we are not promoting Indic languages .
I also agree that "Indians" can easily adopt / understand "English"
genieass said:
Hi there guys.
Nice to know that I am not the only person interested in l18n of android. Do we have a separate forum / thread etc. where such things are discussed?
What the OP is trying to do is to "translate the UI", have I got you right?
But alongside that, we need proper fonts ( I guess the fonts are already there - Droidsansfallback posted by sridhar in some other thread - need to test it)m, AND rendering.
I just reading up on the whole thing, and just found that harfbuzz, a derivative / conjugate of pango is handling CTL (complex text layout) for other scripts. I would like to see CTL enabled by default in all apps ROMs. AFAICT, support for each script in Pango was modular, and it ought to be same way in harfbuzz too. This means developers are probably enabling modules only for the languages they are interested in. Probably, it is perceived that demand for support for Indic languages is not there?
BTW, on Linux desktop, CTL rendering is not in the Kernel - it is in the X applications.
Click to expand...
Click to collapse
rohitbaba said:
I have Hindi working but no other languages.
Your phone must be rooted
I have attached a zip file.
Extract 2 fonts files from the zip and put them in System/fonts via root explorer
You may be asked to replace some file, just say yes.
reboot your phone
this should do it, that all i had to do.
Dev
Click to expand...
Click to collapse
Rohitbaba - It support other languages but it won't render properly. I'm sure it won't render Hindi properly . I've replaced fonts and living with that .
hnkumar said:
Geineass - It is not just "translate the UI". It is proper rendering system for Indic languages.
Click to expand...
Click to collapse
Nice to meet you.
I have worked closely with Indic rendering teams on Linux. I know the difference. Mostly, my role was fixing the bridge between the Unicode standards and developers.
I don't know about Linux but in Android most of the system rendering use base rendering system.
Click to expand...
Click to collapse
Which precisely explains why Indic does not work. What that does not explain is why Arabic and Hebrew and other languages work. At least on my 5570, when it was running stock froyo, 2.2.1, it had the Koran preinstalled. AFAICT, on linux, these scripts use pango (on gtk). Or native kdelibs on kde.
By tweaking a small part of rending system, can show proper rendering whole system.
Click to expand...
Click to collapse
The work is pretty complex. (and I am addressing anybody else wishing to work on this. )
My limitation is that I cannot tell C code from java code. But I can tell you that if Android is reusing the linux ecosystem ( heard Harfbuzz mentioned on one of the SE threads), what needs to be done is simply port the relevant rendering engine to Android.
And things are not too easy. Each Indic language may require a separate module. Or same module will require separate code (as in lines of code) for each Language. And fonts will have to use Opentype layout, or use the conjuncts in Private Use Area.
[/QUOTE] Due to some personal reasons, I couldn't able to work on this. Rendering engineers can help us here. I agree in most of the forums that most of "Indian" engineers works in Android / Iphone / Symbian / other systems but we are not promoting Indic languages .[/QUOTE]
People working on the systems you mentioned above are working for their employers, not for the love of the platform or freedom. Do not blame them. :-(
I also agree that "Indians" can easily adopt / understand "English"
Click to expand...
Click to collapse
No offence meant, that is what I thought up to 20 years back. Then I started working. For past 5 years, been in govt. service. And my experience is that yes, people understand English well, but when it comes to expressing in English, people are not too well. ( hope you get the sarcasm).
genieass said:
Nice to meet you.
I have worked closely with Indic rendering teams on Linux. I know the difference. Mostly, my role was fixing the bridge between the Unicode standards and developers.
Click to expand...
Click to collapse
Nice to meet you too. Happy that one expert starting sharing thoughts with me. May be we can work closely on this. What do you say? This weekend is long weekend, I can spend some time. Problem is I'm not Java coder, so I need to take help of some Java codes (my brother can do).
Which precisely explains why Indic does not work. What that does not explain is why Arabic and Hebrew and other languages work. At least on my 5570, when it was running stock froyo, 2.2.1, it had the Koran preinstalled. AFAICT, on linux, these scripts use pango (on gtk). Or native kdelibs on kde.
Click to expand...
Click to collapse
Yup, I found that Arabic and Herbew they have changed somelibs. Here also, I dont know how to compile libs.
The work is pretty complex. (and I am addressing anybody else wishing to work on this. )
Click to expand...
Click to collapse
Yes, it is complex.
My limitation is that I cannot tell C code from java code. But I can tell you that if Android is reusing the linux ecosystem ( heard Harfbuzz mentioned on one of the SE threads), what needs to be done is simply port the relevant rendering engine to Android.
Click to expand...
Click to collapse
I found in Android source code only they have Indic support. But they are not using that. I dont know the reason. I found this few weeks back.
And things are not too easy. Each Indic language may require a separate module. Or same module will require separate code (as in lines of code) for each Language. And fonts will have to use Opentype layout, or use the conjuncts in Private Use Area.
Click to expand...
Click to collapse
Ya, I downloaded Unicode for each language. However, I can only try with Telugu as I can understand whether it is rendering properly or not. If you help me then I can try for that.
People working on the systems you mentioned above are working for their employers, not for the love of the platform or freedom. Do not blame them. :-(
Click to expand...
Click to collapse
True, but at least they can influence. If they have good experience like these kind of forums they can support other users
No offence meant, that is what I thought up to 20 years back. Then I started working. For past 5 years, been in govt. service. And my experience is that yes, people understand English well, but when it comes to expressing in English, people are not too well. ( hope you get the sarcasm).
Click to expand...
Click to collapse
Yes, I can understand .
Why dont you keep in touch with me over email?
hnkumar said:
Yup, I found that Arabic and Herbew they have changed somelibs. Here also, I dont know how to compile libs.
Click to expand...
Click to collapse
What do they use for text shaping?
Yes, it is complex.
Click to expand...
Click to collapse
I suggest you go through the Harfbuzz source code to find how they do it.
Find the tree here :-
http://cgit.freedesktop.org/harfbuzz/tree/
In particular:-
http://cgit.freedesktop.org/harfbuzz/tree/src/hb-ot-shape-complex-indic.cc
I found in Android source code only they have Indic support. But they are not using that. I dont know the reason. I found this few weeks back.
Click to expand...
Click to collapse
In which case, all that may be required are a few compile / runtime switches or some "INCLUDE <blabla.h> directive somewhere???
"switches" as in "make ---with-indic-support-enabled". Hope you get the idea.
We had to do a 2 month war with the Debian team to have pango / indic support enabled by default in Mozilla (a that time).
Ya, I downloaded Unicode for each language. However, I can only try with Telugu as I can understand whether it is rendering properly or not. If you help me then I can try for that.
Click to expand...
Click to collapse
Let me see what I can do. But, i do not know any Telegu - apart from imitating NTR in school for some fancy dress competition. <lol> Remember NTR?
Why dont you keep in touch with me over email?
Click to expand...
Click to collapse
See my pm.
Edit:- Android does use Harfbuzz. See this link:-
http://android.git.kernel.org/?p=platform/external/harfbuzz.git;a=summary
This is the thread I've been looking for a long time.
Three things first - 1. I've yet to get reply on my post in official bug report for android.
2. I've heard that Honeycomb 3.1 renders Indic text perfectly.
3. Samsung Galaxy Pro renders Hindi flawlessly in stock browser, which means whatever framework is needed to render is there and working.
I am not much of help in terms of coding as my coding skills began at GW BASIC and ended at VB4.0 :/ Though I can help in getting translation done in Punjabi/Hindi.
PS: Subscribed to the thread.
PPS: This is how Hindi text renders perfectly in a mid range Samsung Galaxy Pro

Editting the hardware keyboard layout

Hey guys,
does someone know a way how to change the layout of the hardware keyboard? I'm not talking about changing the hardware keys, i'm talking about editting a config file or something like this..
For example i want to change my QWERTY-keyboard in a QWERTZ one.
In addition, does someone know how to stop writing a capital latter after a dot. for example something like this: "blub. Blabla" to "blub. blabla"
Thank you very much
try:
http://forum.xda-developers.com/showthread.php?t=1113863
that might be a good place to get started with, searching for things along those lines may yield the result you are looking for.
Edit:
http://forum.xda-developers.com/showthread.php?t=982341
That post will probably be the beginning of your quest. We don't have CM7 on our phones, however it's apparently in development, so this should be easy to apply once that hits.
Meantime, though, you could probably take what they've done and figure out how to make it work for you, now that we have everything we need from HTC to actually work with this device.
I am interested in helping support other countries and languages, germanic languages being my foremost interest, so as I get the time i'd love to try to help you with this.
ty very much. are there any other suggestions?

[Q] Displaying Special Characters and Other Fonts

I'm a college student. My minor is in Biblical languages. This being the case I write and read and study languages that have not been used in a very long time. Koine Greek and Ancient Hebrew are the two languages I am most concerned about getting to work properly on my phone. The problem is that modern Greek and Hebrew have different letters than their ancient counterparts and the ancient characters are not supported by Android (except on a few apps that apparently supply their own fonts).
All these characters are supported natively by Microsoft and Apple and Linux, and I do believe that my friends on the iPhone also have them supported. Does anyone know how I would go about adding support for these characters on my phone, so that I can read them in various apps (email, facebook, twitter, Youversion, etc)
I've heard question like this a couple times, but it was more for adding unsupported languages (German, Croatian etc) but the answer was generally to ask your rom developers to add them. I'm not sure how the lettering is handled on the software level, but there are obviously languages that are very unusual that are supported, so I think it's just a matter of having the developer's add them. And judging from some glimpses at the commits on Github for adding languages it seems a pretty straightforward process. If you're on all stock, them I'm unsure as to how you would implement them
Running the latest Liquid Smooth ROM (although it's getting on my nerves and I am thinking of reverting back to the previous one). I've got the ROM Toolbox app which has a font adding function, which is why I first even thought about posing this question, but it looks like that just adds more fonts to change from the settings for the system font.

Extract UI strings from firmware / device

Hi.
Before I start with my question, just a little background. I work in a user guide development firm, and mainly work on Galaxy devices.
One of the most time-consuming process in my work is to match all UI strings (app names, menu text, labels, etc) of the actual device with the user guide.
This is currently being done with human power, with a staff looking at the user guide, check the device if this is correct, and annotate the draft PDF if the UI strings don't match.
If this was for just one language, it's doable. But with 40 or so languages (including Arabic, Cyrillic, Chinese), it definitely makes me want to puke.
This is a very tiring, eye-straining work that I'm trying to resolve, for everyone's sake.
I tried decompressing the Galaxy firmware myself, but the XML data is encoded into binary(for what reason I have no idea), and is not readable.
So now I'm turning to the masters and hope for any luck.
What I would like to know is ...
Hack the Galaxy firmware(md5), and extract UI strings for all language and save in spreadsheet or something, or
Mirror the device's screen on the desktop, copy the desired UI string, and paste it to a desktop application(e.g. Adobe Acrobat).
If the first option is possible, then I can utilize the data for some sort of automation, and would be the best.
If the second option is possible, then I would no longer have to type all kinds of foreign characters(this is also a very time-consuming work), and make some progress in timeline.
If all options are not possible, and there's absolutely no way of automating this process, then well... I guess I'll go see the eye doctor more often than now.
Any ideas or helps would be great.
Thank you.

Categories

Resources