[GUIDE] Translate/Add Language To Custom Roms.. - XDA-University

Translate/Add Language To Custom Roms
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
TOOLS NEEDED​
ApkTool
Notepad++
SO LET'S START
• PREPARE APKS
1. In this example, we will modify Settings.apk and translate it to Spanish language.
2. Take Settings.apk from stock ROM that supports Spanish and rename it to Settings-ES.
If your language is not Spanish, then of course you need to take Settings.apk
from stock rom for you region which support your language.
3. Take Settings.apk from the rom which you want to translate.
You don't need to rename it. Leave it as it is.
• DECOMPILE APKS
1. Decompile both the apks using apktool.
• TRANSLATE/ADD ADDITIONAL LANGUAGE TO APK
1. After decompiling apk, look for the "values"
folder inside the decompiled APK
2. You should do the same for Settings-ES and open it in
another folder so you can view both folders side-by-side
3. You can simply take "values-es" folder from
Settings.apk and copy it to Settings\res
4. After copying folder, open Settings\res\strings and add the values
present in Settings.apk's res\values\strings.xml to "values-es" folder.
5. After that, compile your APK and now
you have a translated version of APK.
6. Do this for every app
you want to be translated.
NOTE:
Only strings.xml and arrays.xml values needs translation.
You only need to translate values inside
Code:
<string name="[COLOR="Red"][B]alert_mesage_recipients[/B][/COLOR]">[COLOR="Green"][B]Alert message recipients[/B][/COLOR]</string>
<string name="[COLOR="red"][B]text_you_should_not_translate[/B][/COLOR]">[COLOR="green"][B]Text you should translate[/B][/COLOR]</string>
Example:
<string name="alert_mesage_recipients">Alert message recipients</string>
You will translate "Alert message recipients"
You should NOT translate "alert_mesage_recipients"
Translated example:
<string name="alert_mesage_recipients">Alerta destinatarios del mensaje</string>
CREDITS:
CarlDeanCatabay
Please point out the faults in the guide if there is any..

Help to add language
Hi I need help. I have buy Xiaocai X800 and the is no Polish language. I searched in web and all custom roms (I fleshed) do not suport Polish. I need to have Polish everywhere (system, aps etc) because the phone is for my kid . If that help I have original rom from Sp Flesh Tool

alahander said:
Hi I need help. I have buy Xiaocai X800 and the is no Polish language. I searched in web and all custom roms (I fleshed) do not suport Polish. I need to have Polish everywhere (system, aps etc) because the phone is for my kid . If that help I have original rom from Sp Flesh Tool
Click to expand...
Click to collapse
Are you have Stock rom?
You can Extract it and get System/app folder

YSH ALSAGER said:
Are you have Stock rom?
You can Extract it and get System/app folder
Click to expand...
Click to collapse
Yes I have original ROM but I don't know that to change in it to insert polish language

Try this guide
alahander said:
Yes I have original ROM but I don't know that to change in it to insert polish language
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2294909

how to translate all completely rom
as adding new languages in a stock natively
or is necessary translated apk by apk as in the example that is in this guide
thanks and good job..!!

hey i want to tranlate settings.apk to polish but i don't know how can I add new launguage. I created new folder i values and named values-pl but when i put my new Settings.apk I can't se Polish in my laungugage settings can you help me? hey i want to tranlate settings.apk to polish but i don't know how can I add new launguage. I created new folder i values and named values-pl but when i put my new Settings.apk I can't see Polish in my laungugage settings list can you help me?

is there any batch tool for this?

i want to add language to rom that not support this language
i found an article that says: in system folder of the rom decompile "framework-res.apk" and after that translate some xml files pack it back to zip and flash it
the problem is i didn't find the stock rom so i downloaded twrp backup file and extract it to similar format like a rom i do it all.
my question is if i will pack it back(after modified) and try to flash it it will work?

Related

Clean simple lockscreen?

I'd like to use a clean simple lockscreen like this one:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm not that into the whole adb push thing so i would want to simply flash it through recovery mode.
Is there any flashable zip for that?
Currently using Cronos Droid 1.5.1.
I want exactly the same thing. I have been searching this forum for a few weeks now...
+1
In my opinion best looking lockscreen there is..
I'm running CronosDroid 1.5_BFS_JIT, but I seriously doubt if this lockscreen works with JIT.
skuum said:
I'd like to use a clean simple lockscreen like this one:
I'm not that into the whole adb push thing so i would want to simply flash it through recovery mode.
Is there any flashable zip for that?
Currently using Cronos Droid 1.5.1.
Click to expand...
Click to collapse
I think the original lockscreen was done by drizzy and i have used it on MCR to version 3.2 and it works fine. As for Chronos i have not tried it on that yet but i think there would be problems if you were using Jit.
Any way i have uploaded the file to RS in update form... do a nandroid first...
The wallpaper for the background you can hunt down if not drop a line here i think i have it somewhere
http://rapidshare.com/files/400178384/Clear_Lockscreen_2.9.zip.html
hi you can try this;
1. extract the file /system/framework/com.htc.resources.apk from your phone via adb or with root explorer
2. open the extracted com.htc.resources.apk with 7-zip ( open archive )
3. open the folder 'res'
4. browse to the folders : drawable-land-480x320 and drawable-port-480x320
5. copy the *.png files to your local drive
6. open the *.png files with editor ( photoshop eg. ) and remove the 'arch' images etc.
7. save the *.png files
8. copy them back into the above mentioned folders
9. close 7-zip ( save the apk )
10. via adb push the apk back in the folder /system/framework
if you're running the modaco-rom you can also try to push this file to the /system/framework folder on your phone
hope this works for you..
*this file will not work on 2.1 based roms!! just on 1.5 based roms....i will see if i can fix a clear lock screen for 2.1 this weekend
will this work with villainrom 10.3?
edit:apparently it doesnt, could you fix it so it does?
like i said .. the file i added will not work on 2.1 roms so no .. it will not work for villain 10.*
would you be abe to create one that does?
can you pull the com.htc.resources.apk from your villainrom and post it here?
currently i'm running Cronos 1.7.1 and i don't think it will work if i pull the file from my rom for you to push it onto villainrom...
could you post instructions how to, i'm new to this.
for VR10 you can find it here: villainrom.co.uk/viewtopic.php?f=33&t=1545&p=17601#p17601
THANK YOU!
mikep1993 said:
for VR10 you can find it here: villainrom.co.uk/viewtopic.php?f=33&t=1545&p=17601#p17601
Click to expand...
Click to collapse
Will it only work for VR10 ?
Im on Cronos 1.7.1 What would happen if i flashed it?
Could you maybe make one work for Cronos?
http://forum.xda-developers.com/showthread.php?t=707599
i used the file from the Cronos 1.7.1 rom so i'm not sure it will work for
villainrom though...
The version i posted on the villainrom-forums will only work on villain rom 10 series. (Because i think non of the updates changed the com.htc.resources.apk file, but i'm not sure).
The simply anser if it works on other rom's is simply no, because the most custom rom's have their own changes in the above mentioned file, so you will get lots of fc or your system won't boot, after that you can't use my posted files for a themed VR10 because a theme changes the pictures of the com.htc.resources.apk file, and i havn't them included in my update zip, because there are the original ones in.
I hope this will help you.
If you want to change this in your own custom rom, you must know the basics of open a .apk file, change the picturefiles and pack it again in a update.zip and the least signing a file.
this is what odin13 mentioned in his post:
1. extract the file /system/framework/com.htc.resources.apk from your phone via adb or with root explorer
2. open the extracted com.htc.resources.apk with 7-zip ( open archive )
3. open the folder 'res'
4. browse to the folders : drawable-land-480x320 and drawable-port-480x320
5. copy the *.png files to your local drive
6. open the *.png files with editor ( photoshop eg. ) and remove the 'arch' images etc.
7. save the *.png files
8. copy them back into the above mentioned folders
9. close 7-zip ( save the apk )
10. via adb push the apk back in the folder /system/framework
Click to expand...
Click to collapse
This is from my VillainROM 10.3.1.
Code:
/system/framework/com.htc.resources.apk

Full Arabic ( Message & Browse & everyting )+ write Arabic by HW Keyboard

Hello Arabic users!​
What you need :
1- official 5.6.890 HERE
http://forum.xda-developers.com/showthread.php?t=1278968
2- DEODEXED HERE
http://forum.xda-developers.com/showthread.php?t=1278056
3- The arabic files in attach
does it work with "liberty"? and how can i install it?
Just use this guide
http://blog.devasque.com/how-to-apply-patch/
works with all Droid 3 ROMs, including stock and Liberty.
aGoGo said:
Just use this guide
works with all Droid 3 ROMs, including stock and Liberty.
Click to expand...
Click to collapse
I tried your link, but it does it work, so i installed the "Steel Droid" rom with the arabic files and it work perfectly.
but i like "Liberty" is there arabic files for it?
thanks.
kald987 said:
does it work with "liberty"? and how can i install it?
Click to expand...
Click to collapse
Hi kald,
give me your rom i will do it for you ^^
medo18 said:
Hi kald,
give me your rom i will do it for you ^^
Click to expand...
Click to collapse
thank you so much
i am not sure do you want specific files from the rom or the zip file, so this is a link for the rom thread
http://forum.xda-developers.com/showthread.php?t=1320922
thank you again.
Welcome kald,
take this and install by Recovery
http://www.fileserve.com/file/P586WjK/Liberty3-signed.zip
medo18 said:
Welcome kald,
take this and install by Recovery
Click to expand...
Click to collapse
nice, it is working.
thank you so much medo.
may i ask how you do it
Welcome kald you can do it from here
http://blog.devasque.com/how-to-apply-patch/
and i want to ask you if your APN is working ( 3g Data )?
medo18 said:
Welcome kald you can do it from here
and i want to ask you if your APN is working ( 3g Data )?
Click to expand...
Click to collapse
yes, it is working but only after i configured "stc" APN manually.
I have found a way to write in Arabic by HW keyboard.
I took a file from the Motorola Milestone and placed in the Droid 3, and became a place of letters as follows :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now we can write English and Arabic by HW keyboard without any problem.
My keyboard :
I will explain later.
How to change keybad in HW keyboard from the English to Arabic :
1- Download omap-keypad.kcm.bin and extract in your Sdcard
( Check The Attachments ).
2- By Root Explorer ( Root required ) copy omap-keypad.kcm.bin and go to
System - Usr - keychars
3- Paste and replace - change Permissions to rw-r--r--.
4- reboot.
Use any keyboard to write arabic.
- If you want to write English by Hw keyboard you should by install TSwipe-Pro and Tswipe milestone ( in the Market ).
1- Open TSwipe-Pro settings.
2- choose Hardware Keyboard .
3- choose Layout - Select - milestone .
Note: Now if you want to write arabic by Hw keybaord choose the default keyboard or any keyboard support Arabic, and if you want to write English just choose TSwipe.
( Just bless to me )​
did you solved BIDI + RTL issues?
boazal said:
did you solved BIDI + RTL issues?
Click to expand...
Click to collapse
Yesssssssss sure
Awesome!
can you prepare it for hebrew as well? (or guide me how to do it)
boazal said:
Awesome!
can you prepare it for hebrew as well? (or guide me how to do it)
Click to expand...
Click to collapse
Yes i can why not ^^
Find the attachments.
Extract and replace, advice me.
medo18 said:
Yes i can why not ^^
Find the attachments.
Extract and replace, advice me.
Click to expand...
Click to collapse
thanks a lot mate!
Welcome anytime .
probable i missed something,
what the advantage in yours process from (let say) install a GO Keybord + Local Language pack?
boazal said:
probable i missed something,
what the advantage in yours process from (let say) install a GO Keybord + Local Language pack?
Click to expand...
Click to collapse
If you want to write by english you should be to install TSwipe-Pro and Tswipe milestone ( in the Market ).

[SOLVED][Q] Remove Unwanted Language List From Locale Settings

Hello everyone...
I want to ask is it possible to remove unwanted language list from locale settings?
I'm using Gingerbread 2.3.6 Blackhawk DXKT7 rom
I'm from Malaysia which is in Asian region.
As you can see on the attached picture I want to remove marked language. Is it possible?
How can I do that? Do I need to edit LocalePicker.smali in Settings.apk smali folder? Please show me how to do that by details.
This one thing annoying me right now. Overall mod I have done on my stock rom have completed.
Hope someone can help me with this. Thanks
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
phadly said:
Hello everyone...
I want to ask is it possible to remove unwanted language list from locale settings?
I'm using Gingerbread 2.3.6 Blackhawk DXKT7 rom
I'm from Malaysia which is in Asian region.
As you can see on the attached picture I want to remove marked language. Is it possible?
How can I do that? Do I need to edit LocalePicker.smali in Settings.apk smali folder? Please show me how to do that by details.
This one thing annoying me right now. Overall mod I have done on my stock rom have completed.
Hope someone can help me with this. Thanks
Click to expand...
Click to collapse
Man!!! I also wish to know....
If im not mistake the language is in XML file or SMALI hurm not sure for it, anyway, the language are not effect our internal space at all, it is too small ....
Anyone please correct me if Im wrong...
I need to remove the list not because of space but because I have only edit default language (english) and Malay language files when modding rom.
Other language will not work correctly when using it. It will lack some strings.
Thanks
Sent from my eyes to your eyes using xda premium
phadly said:
Hello everyone...
I want to ask is it possible to remove unwanted language list from locale settings?
I'm using Gingerbread 2.3.6 Blackhawk DXKT7 rom
I'm from Malaysia which is in Asian region.
As you can see on the attached picture I want to remove marked language. Is it possible?
How can I do that? Do I need to edit LocalePicker.smali in Settings.apk smali folder? Please show me how to do that by details.
This one thing annoying me right now. Overall mod I have done on my stock rom have completed.
Hope someone can help me with this. Thanks
Click to expand...
Click to collapse
Yeah!!! agree I also having that trouble bugging with my SGAi, hurm let me ask around coz Im also needed to remove it, somekind feels like too much for 2 or 3 language inside phone (messy)!!!
Inform me if you have a solution later..need it desperately..thanks..
Sent from my eyes to your eyes using xda premium
ok will so...
To remove it you need to edit all the apps and remove the values folders..
---------------XDA Premium--------------
Don't be a noob. Be a newbie..!!
Details here.
___________________________________
shaaan said:
To remove it you need to edit all the apps and remove the values folders..
---------------XDA Premium--------------
Don't be a noob. Be a newbie..!!
Details here.
___________________________________
Click to expand...
Click to collapse
you mean all system apps?
Sent from my eyes to your eyes using xda premium
As Prawesome said : decompile all apks and framework,remove values-** these are the translations
same with shaaan said, so try it.. i will try next week for this, phadly if im not mistaken yes all inside system/app = decompile then edit by removing values-**(lang to be remove).
shaaan is it include framework-res?
Yes. You need to decompile every single apk, including framework and delete the values-* folders. The * represents the language. But be cautious when recompiling the app, as it will give errors if not done properly. And one incorrectly compiled app will result in either FC or bootloop.
---------------XDA Premium--------------
Don't be a noob. Be a newbie..!!
Details here.
___________________________________
thanks shaaan will try it first then report... :victory:
dehackers said:
thanks shaaan will try it first then report... :victory:
Click to expand...
Click to collapse
I have tried and....yes! solved! I'm only need to remove unwanted 'values-xx' in framework-res.apk, twframework-res.apk, and Settings.apk..thanks for those help me..
Sent from my eyes to your eyes using xda premium
it just saves 3-5 mb not worth it
it just saves 3-5 mb not worth it
Click to expand...
Click to collapse
please read previous post..thanks
I need to remove the list not because of space but because I have only edit default language (english) and Malay language files when modding rom.
Other language will not work correctly when using it. It will lack some strings.
Thanks
Click to expand...
Click to collapse
Sent from my eyes to your eyes using xda premium

How to add new system language

hi,
I would like to add my native language Malayalam as system language (ml,IN),Could some body tell how I can do this?
I tried more locale but it is not working...ICS has Hindi support but no Malayalam...
I googled a lot for the same in vain...but found this link,as I m not a programmer I dont know the procedure mentioned in it...Pls any developer here help the procedure mentioned in the link below...can I add a new language to my phone if I do that?
http://androidandsandu.blogspot.ro/2011/12/how-to-add-indian-languages-to-android.html?m=1
Thanks in advance
Sreeram
You can rebuild rom's framework to add a new language .
Search the forum for it & you'll find it.
There should be another way...don't know
Sent via Ultimate GB
jay-z-s said:
You can rebuild rom's framework to add a new language .
Search the forum for it & you'll find it.
There should be another way...don't know
Sent via Ultimate GB
Click to expand...
Click to collapse
Thanks...
What could be the other way?
this script may help you
Reply the results
Sent via Ultimate GB
jay-z-s said:
this script may help you
Reply the results
Sent via Ultimate GB
Click to expand...
Click to collapse
Unfortunately i dont have a rom with My language (ml,IN).....
I m running on ICS 4.04 can some body tell me which all apk's should I change?like framework-res.apk,systemui.apk?is there any need to update settings.apk or settings provider.apk?
Also could some body tell me which all lines should I alter in the decompiled apks XML?
I have already decpmpiled framework-res.apk and SystemUI.apk....
Also I hope that other than boot loop or soft brick it won't at the worst hard brick my device ?
Sent from my A100 using xda app-developers app
sreeramllb said:
I m running on ICS 4.04 can some body tell me which all apk's should I change?like framework-res.apk,systemui.apk?is there any need to update settings.apk or settings provider.apk?
Also could some body tell me which all lines should I alter in the decompiled apks XML?
I have already decpmpiled framework-res.apk and SystemUI.apk....
Also I hope that other than boot loop or soft brick it won't at the worst hard brick my device ?
Sent from my A100 using xda app-developers app
Click to expand...
Click to collapse
You won't get soft brick, cause recovery is in kernel. (Can flash to other rom)
Framework-res.apk + framework.jar
+u must deodex the rom(u can understand it in this way:
Go to framework folder, if framework.odex existing there so u must deodex your rom)
While you are deodexing I'll search & tell you about adding language
Sent via Ultimate GB
Thanks again...my ROM not an odexed one...so I need to change framework-res.apk and framework.jar only for adding?
Sent from my A100 using xda app-developers app
sreeramllb said:
Thanks again...my ROM not an odexed one...so I need to change framework-res.apk and framework.jar only for adding?
Sent from my A100 using xda app-developers app
Click to expand...
Click to collapse
For editing, wait a moment till I post the guide
Sent via Ultimate GB
OK...
Sent from my A100 using xda app-developers app
We need this file:
Malayalam_script_0.906_windows.zip
--you must download ,without it, no Malayalam support!(search in your language I don't know Malayalam )
Then extract it.
Open rom & extract these files :
system/framework/framework.jar
system/lib/libandroid_runtime.so
system/lib/libwebcore.so
Put these 3 files in input folder of Malayalam_script app.
Open command.exe
Choose aosp,senseUI, cyanogenmod depending on your rom
A CMD window will appear, just wait for it to finish the work.
Put output files back in the rom...
You're done.
Sent via Ultimate GB
jay-z-s said:
We need this file:
Malayalam_script_0.906_windows.zip
--you must download ,without it, no Malayalam support!(search in your language I don't know Malayalam )
Then extract it.
Open rom & extract these files :
system/framework/framework.jar
system/lib/libandroid_runtime.so
system/lib/libwebcore.so
Put these 3 files in input folder of Malayalam_script app.
Open command.exe
Choose aosp,senseUI, cyanogenmod depending on your rom
A CMD window will appear, just wait for it to finish the work.
Put output files back in the rom...
You're done.
Sent via Ultimate GB
Click to expand...
Click to collapse
Thanks again...Could you pls give the download link of the above file?tried hard at google ...
The method suggested by you is for rendering the script in browser and Gmail where as I was looking for adding a new system language...Any further clue?
Hi. How about editing android translations? I mean adding % of battery to "Connect your charger" lockscreen text. In Polish.
What do you mean?
Sent from my A100 using xda app-developers app
Let's see. If you turn on the battery notification on the lockscreen, you can see "Battery 45%". In this notation, "45%" is some kind of variable. I want to use this variable when the battery drops below 20% and you can see only "Connect the charger". I want to look it like a "Connect the charger - 13%." And I want it in Polish. I suppose it can be done by editing the translations.
In the simplest terms: where can I find the texts "Connect the charger", "Charged", etc. for different languages​​?
On framework-res.apk /res/values/strings.xml
There isn't strings.xml or even values folder inside framework-res.apk. Tried on GDX_v030 and GingerCM_v11
Need to decompile the apk, not only open like a zip file.
u can use apk-tool, Bart, etc.
Odp: How to add new system language
Thanks bro. I've Just created my first "mod" and it works fine
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[INFO] What to do if secret codes doesn't work on custom rom?

Hi
I discover something when I try everything to work something out for *#06# on a custom rom.
Samsung made some changes in the csc code on their phones.
When you try to fial a secret code it looks the spesific file with csc code in /system/etc
File changes csc to csc. It name is for example on my devic TUR_keystrings.dat . Only the TUR part changes in the file name. As i see it from my experince file is same on all international roms.
So what to do when secret code doesnt work on custom rom ?
First find the csc base of your rom. I mean when you look at the /sytem/SW_Configuration.xml file you see douzen of csc listed there. All name there should work.
For example. You find the THL Part in the name.
Now we need to find the keystring file .
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Look at this image. You can look at /system/csc folder deeper and you will find the file.
See the sup_keystrings.dat
Copy that file to /system/etc and name it THL_keystrings.dat and give 644 permission.
Reboot.
Boom its works.
I share default keystrings file to you. I hope it works for you too.
Important part is finding your base csc.
If you cant find it download a hex editor and open the /system/csc/salescode.dat file with it. It will show you your csc.
Click thank if it works for you too.
This isbthe 6.0.1 default file.
doesn't work on custom oreo rom
I can confirm, this certainly works on nougat. A custom rom I'm using is s6 rom and the dialer for the codes wasn't working. So I basically copied my TMB_keystrings.dat into both folders just to be sure it worked. Because my ROM didn't have no TMB_keystrings or any ___keystrings.dat any system/csc or system/etc
so, i got TMB_kystrings from my original stock csc that I have as backup and paste in both directories (system/csc) and (system/etc).
Confirm. It's working for nougat. I don't know about oreo, I can't get oreo on my phone. (N920T).
TrayDays said:
I can confirm, this certainly works on nougat. A custom rom I'm using is s6 rom and the dialer for the codes wasn't working. So I basically copied my TMB_keystrings.dat into both folders just to be sure it worked. Because my ROM didn't have no TMB_keystrings or any ___keystrings.dat any system/csc or system/etc
so, i got TMB_kystrings from my original stock csc that I have as backup and paste in both directories (system/csc) and (system/etc).
Confirm. It's working for nougat. I don't know about oreo, I can't get oreo on my phone. (N920T).
Click to expand...
Click to collapse
The location of the ???keystrings.dat is listed from within csc/contents.db file as shown in the attachment. There is no guess work needed to try and put them elsewhere.
tjlabais said:
The location of the ???keystrings.dat is listed from within csc/contents.db file as shown in the attachment. There is no guess work needed to try and put them elsewhere.
Click to expand...
Click to collapse
Sorry for the late reply, but yes the keystrings.dat file shall be inside the folder of the "stock rom" in system/etc/___keystrings.dat but this is a stock nougat rom. It may also be in the folder of omc/(___)/etc/___keystrings.dat
just grab the file from stock and paste it into the internal memory of your phone or sdcard. Then copy and paste it into the root of the phone using a file explorer(i use MixPlorer) into both directories system/csc/___keystrings.dat &system/etc/___keystrings.dat
since this is what worked for me on nougat but should work for oreo as well if you find the ___keystrings.dat file.
TrayDays said:
Sorry for the late reply, but yes the keystrings.dat file shall be inside the folder of the "stock rom" in system/etc/___keystrings.dat but this is a stock nougat rom. It may also be in the folder of omc/(___)/etc/___keystrings.dat
just grab the file from stock and paste it into the internal memory of your phone or sdcard. Then copy and paste it into the root of the phone using a file explorer(i use MixPlorer) into both directories system/csc/___keystrings.dat &system/etc/___keystrings.dat
since this is what worked for me on nougat but should work for oreo as well if you find the ___keystrings.dat file.
Click to expand...
Click to collapse
Let me rephrase what I have said earlier. The location of XXXkeystrings.dat IS DEFINED inside the file "contents.db". You don't need multiple copies of the file as you described above. You can use DB Browser for SQ Lite to view "contents.db" You can also relocate XXXkeystrings.dat to another location, you just need to update "contents.db".
tjlabais said:
Let me rephrase what I have said earlier. The location of XXXkeystrings.dat IS DEFINED inside the file "contents.db". You don't need multiple copies of the file as you described above. You can use DB Browser for SQ Lite to view "contents.db" You can also relocate XXXkeystrings.dat to another location, you just need to update "contents.db".
Click to expand...
Click to collapse
Ah, that's what you meant. I thought you were talking about the location of it. But that's good to know that., thanks.

Categories

Resources