Related
Ok, I rooted and remapped the keyboard, and ti works fine, however, in order to get rid of the ugly language bar in landscape mode, I unchecked "default input settings" in the settings and.... they keyboard started acting as finnish/swedish again! When I checked "default input settings" - it reverted to normal. Is there any other file to edit?
ive got teh same problem
hmm since its still trying to grab qwerty-se-fi....what if we replace that with the qwerty-en.xml.
nope no dice
Any other ideas where the keyboard layout might be hiding?
if you uncheck the default input, the system uses the qwerty.kcm.bin file in /system/usr/keychars folder.
to get that replaced by the english layout you have to copy the qwerty-en.kcm.bin file from the /system/usr/keychars/mimmi/keyprints folder up into the /system/usr/keychars folder and save it as the qwerty.kcm.bin file.
i have read this somewhere on the x10 forum. i can't find the topic at the moment.
as i mentioned in another thread, the paths are from android 1.6. they might be different on 2.1.
__________________________
edit: i actually read it here: http://forum.xda-developers.com/showthread.php?t=777660
also, i don't know how to make modifications inside these bin files but would very much like to find out.
go here >
forum . xda-developers.com/showthread.php?t=822050
Click to expand...
Click to collapse
(remove spaces)
i don't know lunux as well, but i use root explorer. just change the properties(rw) and mount first b4 u edit the file. after u edit and save, reopen the file to verify that the changes were saved b4 u reboot.
zanndoth said:
go here > (remove spaces)
i don't know lunux as well, but i use root explorer. just change the properties(rw) and mount first b4 u edit the file. after u edit and save, reopen the file to verify that the changes were saved b4 u reboot.
Click to expand...
Click to collapse
You didn´t understand. This is easy, and everyobody does it. The problems start when you untick the default entry method in keyboard properties. Read carefully first post.
any updates?
ozzy1212 said:
any updates?
Click to expand...
Click to collapse
I downgraded to 1.6 German and will wait for official release. Having a Swedish layout on a German keyboard using English for typing is too much for my poor brains. Meanwhile since you ar on 2.1 can you check the idea below?
thekindladies said:
if you uncheck the default input, the system uses the qwerty.kcm.bin file in /system/usr/keychars folder.
to get that replaced by the english layout you have to copy the qwerty-en.kcm.bin file from the /system/usr/keychars/mimmi/keyprints folder up into the /system/usr/keychars folder and save it as the qwerty.kcm.bin file.
i have read this somewhere on the x10 forum. i can't find the topic at the moment.
as i mentioned in another thread, the paths are from android 1.6. they might be different on 2.1.
__________________________
edit: i actually read it here: http://forum.xda-developers.com/showthread.php?t=777660
Click to expand...
Click to collapse
thekindladies said:
if you uncheck the default input, the system uses the qwerty.kcm.bin file in /system/usr/keychars folder.
to get that replaced by the english layout you have to copy the qwerty-en.kcm.bin file from the /system/usr/keychars/mimmi/keyprints folder up into the /system/usr/keychars folder and save it as the qwerty.kcm.bin file.
i have read this somewhere on the x10 forum. i can't find the topic at the moment.
as i mentioned in another thread, the paths are from android 1.6. they might be different on 2.1.
__________________________
edit: i actually read it here: http://forum.xda-developers.com/showthread.php?t=777660
Click to expand...
Click to collapse
it works
replace /system/usr/keychars/mimmi_keypad.kcm.bin and chmod to rw-r--r--
ps. the attached file is of en layout
magizhang said:
it works
replace /system/usr/keychars/mimmi_keypad.kcm.bin and chmod to rw-r--r--
ps. the attached file is of en layout
Click to expand...
Click to collapse
i'll confirm in a while...
looking for a pc to unzip in...dont know how to open 7zip on a mac...
ozzy1212 said:
i'll confirm in a while...
looking for a pc to unzip in...dont know how to open 7zip on a mac...
Click to expand...
Click to collapse
http://www.wobzip.org/
I strongly suspect that this file will be the same in 1.6 . So what I will try to do - save this file from a german version of 1.6, flash nordic, and install the file from german version.
PS - tested it works.
great!works!
thanks everyone!
@magizhang...where'd you get the en layout?
ozzy1212 said:
great!works!
thanks everyone!
@magizhang...where'd you get the en layout?
Click to expand...
Click to collapse
He could get it only from UK generic 1.6, as I got my german layout from DE generic 1.6
Did you test it as well on 2.1?
works perfect on 2.1!
i'm back to using Swiftkey again!
ozzy1212 said:
works perfect on 2.1!
i'm back to using Swiftkey again!
Click to expand...
Click to collapse
Don´t forget that we will have to repeat this monkey business after every upgrade!
On the other note - I see here people of all nations, from all corners of the world rapidly and efficiently working together and solving all kinds of problems and I ask myself why it doesn´t happen offline in the real life. Makes me really sad.
vlissine said:
Don´t forget that we will have to repeat this monkey business after every upgrade!
On the other note - I see here people of all nations, from all corners of the world rapidly and efficiently working together and solving all kinds of problems and I ask myself why it doesn´t happen offline in the real life. Makes me really sad.
Click to expand...
Click to collapse
or just use a different build.prop again?
well, be happy, we just made it work and whipped SE's ass again!
now to crack bootloader...
hi guys
can we use this method to install arabic font on or x10 minis
this method for x10 the big one
http://forum.xda-developers.com/showthread.php?t=826615
please if it works it would be great and if not is there a way to make work on or minis in the same manner cause the letters here is conected and very clear to read
36 veiw not even one answer
come on guys i know there must be someone know the answer
i learend alot in this fourm and i see great people here
please somone help
Updated on 18/1/2011
Dear Brother,
First of all your phone should be rooted (if not search it)
it must have 2.1 rom not 1.6
and you are supposed to have root explorer.(from the market)
download the following link to your computer and extract it.
mediafire.com/?65r7o8smfrog979 (add www befor the link)
u will have now two folders one called "Fonts" and the other called "lib".
now copy both folders to your SD card.
now from your phone, use the root explorer to do the following with the same order (very important to keep exactly the same order) :
1- make sure that the root explorer has the "Mount R/O" not R/W on the upper right corner.
2- copy all the files inside "Font" folder to system\font
Now in the other folder "lib" u wull have 3 files:
(from now on, u should copy just one file at a time with the following order (again it is very important to stick to the order))
3- copy just libskiagl.so to system\lib
4- copy then libwebcore.so to system\lib
5- then copy libskia.so to system\lib
here the phone will restart alone or if not u should restart it and now u can read arabic
Note:
# i dont take responsibility if your phone is corrupted, u are doing this on your own responsibility
#this arabization is not perfect so in same apps like Gmail, the subject name will be "ma3koos!!!".
# this is the best and easiest way to arabize your phone, at least till now
# this arabization will give you arabic font even over the tile bar with no problems.
# here you will get Arial font for english and arabic which is the best for reading on such a small device.
# i recommend using "smart keyboard pro" as it can be easilty upgraded to get arabic letters, and easy to switch between the two langueges while typing.
#i am not a developer, and those files are not made by me, you can get mor infos from (ce4arab.com) or (adslgate.com). but i recommend that you stick to my way of arabization.
# this is supposed to work on X10 and X10 mini pro (but i didnt try it)
# if somebody uses the method, plz comment as i want to know the results.
i want to thank Ghaith Alshareef the moderator of android in (adslgate.com)
and for sure Galaxyer (ce4arab.com)
good luck
thanks man it really works
great to have people who help around here
i am happy it worked so fast
Does this method works with another phones
i have lg gt540 with 2.1 rom
the arabic font on my phone showed not connected
actually i am not a developer, so really i dont know of it will work or not on LG
but i think that u can search this on ce4arab
Can you please reupload the mediafire link you posted, i really want to test this on my x10mini pro and the link points to something else now.
thank you
Hello guys thank you for the big help here.
Just wondering what will this method make in arabic? Is it everything even the menu and the writing or just the viewing like messages and web sites surving?
A guy told me that there is a way to make names and messages viewable in arabic without rooting ,is that possible?
Thank you again
long process
I got arabic text by just replacing one file in font folder.
i downloaded that arabic font somwere on this forum.whoever wants the font pm me.
hey guys, i am going now to post new files on my first reply with new links. this is the best arabization i have found till now
Dear friend,
this arabization allows you to view any thing arabic on almost any application (of course including the web browser) except the titles of E mails on Gmail, the letters there will be inverted.
till now i havent tried any apps which uses arabic and has problems with this arabization (the new one 18/1/2011)
so the menu and the settings are not arabized (unfortunatly)
with out rooting you can read and type your mesages with an application called "Mirsal" which is available on the market, but still you wont be able to surf the internet through arabic websites.
Thanks very much
I want you to help through one more thing unfortunately I can't surf through the market because google has blocked it from the place where i'm at right now it would be awesome if someone can upload it somewhere please
Again thank you guys this is a great topic.
Hey it's me again please guys don't bother I found mirsal in some web site
Thanks
Thats ok, you are welcomed any time
okq1986 said:
Updated on 18/1/2011
Dear Brother,
First of all your phone should be rooted (if not search it)
it must have 2.1 rom not 1.6
and you are supposed to have root explorer.(from the market)
download the following link to your computer and extract it.
mediafire.com/?65r7o8smfrog979 (add www befor the link)
u will have now two folders one called "Fonts" and the other called "lib".
now copy both folders to your SD card.
now from your phone, use the root explorer to do the following with the same order (very important to keep exactly the same order) :
1- make sure that the root explorer has the "Mount R/O" not R/W on the upper right corner.
2- copy all the files inside "Font" folder to system\font
Now in the other folder "lib" u wull have 3 files:
(from now on, u should copy just one file at a time with the following order (again it is very important to stick to the order))
3- copy just libskiagl.so to system\lib
4- copy then libwebcore.so to system\lib
5- then copy libskia.so to system\lib
here the phone will restart alone or if not u should restart it and now u can read arabic
Note:
# i dont take responsibility if your phone is corrupted, u are doing this on your own responsibility
#this arabization is not perfect so in same apps like Gmail, the subject name will be "ma3koos!!!".
# this is the best and easiest way to arabize your phone, at least till now
# this arabization will give you arabic font even over the tile bar with no problems.
# here you will get Arial font for english and arabic which is the best for reading on such a small device.
# i recommend using "smart keyboard pro" as it can be easilty upgraded to get arabic letters, and easy to switch between the two langueges while typing.
#i am not a developer, and those files are not made by me, you can get mor infos from (ce4arab.com) or (adslgate.com). but i recommend that you stick to my way of arabization.
# this is supposed to work on X10 and X10 mini pro (but i didnt try it)
# if somebody uses the method, plz comment as i want to know the results.
i want to thank Ghaith Alshareef the moderator of android in (adslgate.com)
and for sure Galaxyer (ce4arab.com)
good luck
Click to expand...
Click to collapse
Thanks! Works Perfect!
pro
X10 mini pro here.
I can confirm that this works.
Facebook arabic posts are visible now on browser (dolphin)
Arabic websites are legible now.
Problems:
Some non-arabic text characters show as squares.
The new non-arabic new font isn't as legible but it's my humble opinion.
Some weird sqaures appeared next to some application names in the menu.
dear loony33, even though those squers appear, i still think that this is the best arabization u can get, the other fonts would make the arabic letters very small, and you wont be able to read them on launcher pro (as an example).
i hope that in the near future, i will find better fonts, i will post them then
good luck
Thank you.
I have gotten used to the new fonts now.
I am having a problem though requiring restart once or twice per day. The recent program text disappears and so do the text for the volume. Not sure what triggers that. These all would not have text underneath. Even the media volume text disappears. Any ideas?
Thanks.
hey,
I have suffered from the disappearene of text in the previous (old) font, but not in the new one. and regarding that you need to restart every day...., i am quite sure it is not related to the font maybe a new program which you recently installed!!
Ok, got a bit of a problem here... I need to change the default homepage of the browser in a Rom I'm cooking... that means the homepage you get after a full factory reset, not that you set in the menu.... Please don't tell me how to set it in the browser menu....
A bit of background... I'm using a leaked Rom to build from. It was leaked from a Tracfone "LG-L95G" which is identical in every way to the LG-P999 aka T-Mobile G2X. Everything is working 100%. The only problem left from the "porting" is removing Tracfone as the default browser homepage.
This has turned out to be harder than I expected.
What I have done:
Browser.apk - the xml lists Google as the homepage. The word "tracfone" appears NOWHERE in the entire structure of the decompiled xml or values or even in the smali code.
SystemUI & framework-res - I've seen suggestions the homepage hides here. Can't find anything suggesting a setting to "tracfone"
flexdb - I really thought I had it kicked here. /system/etc/flex.db listed m.tracfone.com as the homepage for T-Mobile US. I changed all occurrences here to about:blank. I have also tried simply copying the flex.db from a P999 itself. Ie, removed ALL references to tracfone service and made it identical to a P999 in every way.
Ran grep -R tracfone * on the entire ROM.
Dug through tons of files by hand looking for any clue.
Unfortunately, even with all of that, do a wipe, open the browser, and you GET M.TRACFONE.COM again!
The word "tracfone" does not appear in build.prop, it does not appear in any init scripts, not even in the kernel scripts! Yet it comes back like Christine...
Does anyone have a clue where I could look next? Or failing that, even some way from an init.d script that I can overwrite the setting myself?
EDIT
Okay, I hate giving myself clues like this, but maybe this will help others (if I'm on the right track)...
Instead of doing a grep on the ROM from my PC, pre-install, I decided to actually hit up the RUNNING copy... so from adb into a Bash prompt on the phone itself, I ran a grep -r tracfone * and got the following result:
Code:
data/data/com.android.browser/databases/browser.db:Web page not availablehttp://m.tracfone.com/
data/data/com.android.browser/shared_prefs/com.android.browser_preferences.xml:<string name="homepage">http://m.tracfone.com</string>
data/data/com.lge.providers.flex/databases/flex.db:M77BRW_SETTINGDB_CURRENT_HOME_URL_Ihttp://m.tracfone.comhttp://m.tracfone.comI#
data/data/com.lge.providers.flex/databases/flex.db:=77BRW_SETTINGDB_HOME_URL_Ihttp://m.tracfone.comhttp://m.tracfone.como"
data/data/com.lge.providers.flex/databases/flex.db:=;;DATACOM_ACCOUNT_MMSC_0_Ihttp://mms.tracfone.comhttp://[email protected]
data/data/com.lge.providers.flex/databases/flex.db:;%%DATACOM_ACCOUNT_APN_0_Iwap.tracfonewap.tracfone:?
data/data/com.lge.providers.flex/databases/flex.db:M77BRW_SETTINGDB_CURRENT_HOME_URL_Ihttp://m.tracfone.comhttp://m.tracfone.comI
data/data/com.lge.providers.flex/databases/flex.db:=77BRW_SETTINGDB_HOME_URL_Ihttp://m.tracfone.comhttp://m.tracfone.como
data/data/com.lge.providers.flex/databases/flex.db:=;;DATACOM_ACCOUNT_MMSC_0_Ihttp://mms.tracfone.comhttp://mms.tracfone.com6%
data/data/com.lge.providers.flex/databases/flex.db:;%%DATACOM_ACCOUNT_APN_0_Iwap.tracfonewap.tracfone:$
Which is very odd.... considering that is NOT the content of the actual flex.db that was flashed to the phone. That leads to 1 question: Why isn't the phone respecting the flex.db? I've noticed other edits to the file (such as bookmarks) do not apply either. So it is being ignored at somepoint. FlexProvider.apk maybe? Or is something in the ROM still identifying the phone to T-Mobile as an MVNO device and they're pushing out an OTA flex update?
EDIT 2:
AHA! There's a flex.db *INSIDE* the FlexProvider.apk file! So it *IS* ignoring the one placed in /system/etc/flex/! Editing this should solve it - but I'm going to test test test to make sure.
lotherius said:
Ok, got a bit of a problem here... I need to change the default homepage of the browser in a Rom I'm cooking... that means the homepage you get after a full factory reset, not that you set in the menu.... Please don't tell me how to set it in the browser menu....
Click to expand...
Click to collapse
firstly to say interesting question!!
but I think it it not possible to change programmatically default homepage
this is a system app so will be signed by your provider let us suppose you find homepage location in code (could by result of a script parsing) by modifying source of that apk package how to solve signature problem ?!
if in .db file ...this file is created after flashing as a result of script parsing
not framework-res.apk better browser-res.apk if you have one
ruscan.calin said:
firstly to say interesting question!!
but I think it it not possible to change programmatically default homepage
this is a system app so will be signed by your provider let us suppose you find homepage location in code (could by result of a script parsing) by modifying source of that apk package how to solve signature problem ?!
if in .db file ...this file is created after flashing as a result of script parsing
not framework-res.apk better browser-res.apk if you have one
Click to expand...
Click to collapse
man use a ... editor...I can show you for fifty bucks
I was just curious about this tricky change (from your post) so thinking about Google motto don't be bad finally I have found but should recognize that I am bad at this time
here is solution
Actually, you can use an sqlite editor to change the values in the flex.db file... the problem I was having in the OP is that on an LG phone (maybe others?) the flex.db file is ignored and the one inside FlexProvider is used instead, so you have to edit both. You can add new locales the same way. No need to use a hex editor, as that would be much more difficult.
lotherius said:
Actually, you can use an sqlite editor to change the values in the flex.db file... the problem I was having in the OP is that on an LG phone (maybe others?) the flex.db file is ignored and the one inside FlexProvider is used instead, so you have to edit both. You can add new locales the same way. No need to use a hex editor, as that would be much more difficult.
Click to expand...
Click to collapse
maybe you are right regarding your phone... but also I prepare a custom rom for Alcatel ot-908 also to change default homepage was a problem for me but I did and simply works !
I received a Text message sent from an E-Mail and I was wondering if it was possible to find the individual file on the filesystem holding the metadata for the E-Mail.
If so, would I have to root the phone? And where would that file be located?
I'm a techie, so no need to warn me that I could hurt my phone or files - I'm only looking to READ, not WRITE, and I'd be making a copy of that file beforehand anyways and porting it to a PC in order to check it with whatever program is necessary to decrypt (Probably only need a hex editor, but if someone knows better, feel free to pass that information along, too )
Anyways, is it possible?
Thank you for your time.
FordTough91 said:
I received a Text message sent from an E-Mail and I was wondering if it was possible to find the individual file on the filesystem holding the metadata for the E-Mail.
If so, would I have to root the phone? And where would that file be located?
I'm a techie, so no need to warn me that I could hurt my phone or files - I'm only looking to READ, not WRITE, and I'd be making a copy of that file beforehand anyways and porting it to a PC in order to check it with whatever program is necessary to decrypt (Probably only need a hex editor, but if someone knows better, feel free to pass that information along, too )
Anyways, is it possible?
Thank you for your time.
Click to expand...
Click to collapse
You can get access to system files by using a file manager. To edit files, you need to root your phone.
If it is *.txt attachment that was attached in that mail, go to downloads and look for it.
Now, serious. Why so serious?
If you are looking to decompile that mail app, use APKTOOL to decompile. Search on xda for the links. :good:
The apk file can be found on the device in: /system/app/ here
If the apk file is odexed, then you have to first deodex it to make it as one apk file Search on xda for the tutorials. :good:
If you are asking to decrypt mails, ask NSA :laugh: :laugh: :silly:
I am a newbie here. So I don't know where that file is located exactly.
Press thanks if I have helped you.
the_pirate_predator said:
You can get access to system files by using a file manager. To edit files, you need to root your phone.
If it is *.txt attachment that was attached in that mail, go to downloads and look for it.
Now, serious. Why so serious?
If you are looking to decompile that mail app, use APKTOOL to decompile. Search on xda for the links. :good:
The apk file can be found on the device in: /system/app/ here
If the apk file is odexed, then you have to first deodex it to make it as one apk file Search on xda for the tutorials. :good:
If you are asking to decrypt mails, ask NSA :laugh: :laugh: :silly:
I am a newbie here. So I don't know where that file is located exactly.
Press thanks if I have helped you.
Click to expand...
Click to collapse
Just to reiterate, the person sent me a TEXT. I open my text app and I read their text. I want to find the file containing that exact text. (Extra info, info you don't really need to know and MAY have confused you: The text was sent via an E-Mail... Meaning they logged into their E-Mail, typed my phone number, and my phone received a TEXT from that E-Mail address straight to my SMS inbox). I'm not sure if I was clear enough on that. But I am trying to open an SMS sent straight to my phone AS IF from another phone.
What did you mean why so serious? I'm just trying to seem professional in my question. Hate to confuse people. Also: Decrypying a file should a) not be necessary, but MAY be (still highly doubt it), and B) Does not require NSA lol. I can do it myself, and if not, I've got a buddy who could do it for sure. But ALL I'M TRYING TO GET is the "metadata" from the SMS that'll HOPEFULLY give me the metadata for the E-Mail.
Thanks for your time.
Solution
I think I have found a solution to your problem.
This is the absolute path to SMS and MMS DB on most android devices:
/data/data/com.android.providers/telephony/databases/mmssms.db
It is the file where these messages are stored.
I don't own this device but still I have posted the screen shots
I think you get what I am trying to say.
Press thanks if I helped
Hello xda community, im a student, i want to make a little project:
I state that im not a programming expert, it's just a passion.
I would like to add a button in the whatsapp menu to set a language created by me (a dialect), I decompiled the whatsapp apk and found the app_srings_en.pack file (translation binary file) that can be modified, I guess, with an android development tool. I'm going to create an app_strings_XX.pack file that can be set from the whatsapp menu, my question is if it is feasible and how to do it.
Thanks for help!
ps: sorry for not perfect translation!
You can add a language to the app over the phone, if your phone is rooted, through the "mt manager" application.
You open the app, open a file with an arsc extension, click on edit arsc, click on the name of the package usually the last line, and go down to string, and click on the options, click on Add, and add the language you want, then you enter the line you created, Click Options and click Add, and choose which strings you want to translate, and save, good luck.
unluckly when i tried to do root i've breaked 2 phones so i don't want to try another times.....i know when there is a root you can do this but i want to make stable app to share, can i do it on android sdk? maybe adding some strings...
Nvust said:
unluckly when i tried to do root i've breaked 2 phones so i don't want to try another times.....i know when there is a root you can do this but i want to make stable app to share, can i do it on android sdk? maybe adding some strings...
Click to expand...
Click to collapse
If it is not an application of the system, you do not need to root your phone you can do it even without rooting
zalmen hatotach said:
If it is not an application of the system, you do not need to root your phone you can do it even without rooting
Click to expand...
Click to collapse
when i said android development tool i meant android sdk on windows.
So do you mean that i can edit the app on the phone and i can debug instantly?
No, I meant you can translate and add Languages the application by phone, through "mt manager"
zalmen hatotach said:
No, I meant you can translate and add Languages the application by phone, through "mt manager"
Click to expand...
Click to collapse
ok now im trying, how it works? i can't find the arsc file, where is located?
Nvust said:
ok now im trying, how it works? i can't find the arsc file, where is located?
Click to expand...
Click to collapse
You open the application, it should be there, not in any folder, a file with a yellow mark.
zalmen hatotach said:
You open the application, it should be there, not in any folder, a file with a yellow mark.
Click to expand...
Click to collapse
I think im gonna edit a language file cause i can't add a string, it gives me an error every time with all format text
Nvust said:
I think im gonna edit a language file cause i can't add a string, it gives me an error every time with all format text
Click to expand...
Click to collapse
What language do you want to add?
zalmen hatotach said:
What language do you want to add?
Click to expand...
Click to collapse
Right now im trying to edit italian language to convert in dialect but on "strings" there is an quarter of the text....i opened a file called "app_string_it.pack" with an hex editor and i found a lot more text, you know how to edit the file? from resurces.arcs i found only "strings" ...
Im using an apkeditor from pc "apk editor studio 1.4.0" cause translate all the text from smartphone is a little bit difficult. I thought that edit some files in apk for translate an app was easy but now i realize...
Maybe after understand this i can try to use a menu to change lang. Thank you again!