Change language files in a ROM - Android Q&A, Help & Troubleshooting

Hi everyone,
I want to change language files in a ROM with th files copied from other ROM.
The ROM I'm using does not have the language that I need. The other phone has almost same ROM but it has the language I need. The other phone is my friend's phone. But he does not want to istall CWM to make a backup for me. His phone is rooted, and I could explore it with root explorer. Now I want to copy the language files from his phone, and after that, I want to change files in my rom with the files come from his ROM or add the language files to my phone's ROM. I hope I could explained well.
please help..

Decompile/compile apk file via APK Tool
You have to disassemble the apk file. use apk tool. looking at the folder res/values​​/string.xml. and u create folder in res/values-language ex:
values-en for english , how to use APK tool ceck http://forum.xda-developers.com/showthread.php?t=2326604

Related

[HOW TO] INstall DioDict COllins Bundled Dictionary From Stock(INDIA)

Well theres a apk in /system/app/DioDict_for_Android_LG_Swift_India.apk
permissions 0644(rw,r,r)
and theres a static library /system/lib/libDioDictEngineNative.so
and i think there was a dictionary database in the bundled mmc (a foolder called edictionary) /sdcard/
COpy these files to the directories listed above and voila! your dictionary is back
ROOT UR PHONE ,INstall ROOT explorer ,copy files, set permissions and it worked on my megatron ROM... thought might as well share it...
NOTE: If u took the NANDroid backup of your phone before installing customised ROM ...u can always extract the files mentioned above by using unyaffs.exe http://www.filecrop.com/search.php?w=unyaffs&size_i=0&size_f=100000000&engine_r=1&engine_m=1&engine_h=1
and use the system.img in your nandroid backup folder
didnt make nandroid before flashing ....
Well then look for it on filecrop.com
Can you attach the .so file here?
im willing to give my ozone wifi pass 1 gb /2 month / 2mbps to who uploads the edictionary database :|
the DIoDict Library
the library is included..i cud have uploaded that edictionary folder too..But i m on sodding 2.5g network(Its INdia) and can't even upload that..
bro i need tht edictionary :|
i formated my mmc card and lost the edictionary folder and the contents . can any one post it here if the have it ?
Is THIS the database?? Its what i could find on my card's edictionary.
But since i've installed a different ROM now, I too need the .apk for the dictionary if anyone can share...
thanks a lot
did not find diodict in my stock..can anybody upload it diodict apk
thanks in advance..
DioDict Dictionary for Custom Roms.
ccdreadcc said:
im willing to give my ozone wifi pass 1 gb /2 month / 2mbps to who uploads the edictionary database :|
Click to expand...
Click to collapse
Hello everyone!
Here is a zip that contains all the files needed to make Diodict Dictionary work on custom roms (or any rooted phone):
mediafire[.com]/?umr5xvhze4wa5rc (remove "[" and "]" from the link. I am not allowed to post links yet.)
1. It contains the DioDict apk file which is in the "TitaniumBackup" folder. You can also use TitaniumBackup to restore it by placing the folder at the root of your sdcard.
2. It contains "libDioDictEngineNative.so" which you must place in system/lib folder. You will need 'root' and 'write to system folder' permissions for this. Not a big deal if you're on a custom rom.
3. It contains the databases for "Collins Cobuild Advanced", "Oxford Advanced Learners" and "StarPublications ENG-HIN" in the "edictionary" folder. You must place this folder at the root of your sdcard. The first two "Collins Cobuild Advanced" & "Oxford Advanced Learners" are awesome english dictionaries which will work offline. I don't know what the third one ("StarPublications ENG-HIN") is.
Let me know if any issues. Click thanks if I helped.
And @ccreadcc: Where is my ozone wifi pass? kidding....
Everything worked except that i was not able to paste the file.I am on CM7.
I use root explorer:
"you cannot paste here the file system is read-only"
I tried to edit the permission but say"some file do not allow permission changes"
Please Help
solution
Mount /system as writable
I don't know about Root explorer. I use ES File Explorer. In ES Explorer under Settings> Root Settings> Check both the options and you'll be able to paste the file there.
i had 2 wifi passes unused.. wonder where i put it xD
i just did !
i got success to install this on official 2.3 rom
just copy "libDioDictEngineNative.so" to system/lib folder
after that install com.diotek.diodict2.swift_india-a1c589b5691365fa3b910b4435b6d4ec.apk as u install other software .
it works for me !
thanks !!
theaventador said:
Everything worked except that i was not able to paste the file.I am on CM7.
I use root explorer:
"you cannot paste here the file system is read-only"
I tried to edit the permission but say"some file do not allow permission changes"
Please Help
Click to expand...
Click to collapse
At the top of root explorer slook for Mount r/w, click it and now you can paste it there.
Hit the thanks button if I have helped you.
Guys hindi dict not showing words properly and restart dict when u hit return button
I have tried on 2 handsets but problem persist .
Sent from my LG-P500 using Tapatalk
ccdreadcc said:
bro i need tht edictionary :|
Click to expand...
Click to collapse
LOL!no ozone hotspots in chennai ryt? I have 3 of dose coupouns!!
Lying useless!!
Sent from my LG-P500 using xda premium
the link u posted is infected by trojan horse. pls dont upload such links
Y don't u guys use concise Oxford English dictionary by mobisystems..
I used to use this dictionary even when i was on stock...
y u want to use the lg ****...
Sent from my LG-P500 using xda premium

T9 Dialpad apk nordic

Hi.
I would like to flash some of the newest firmwares out there but they dont have Norwegian letters in the Samsung keyboard T9.Some have in landscape mode,but i prefer type with one hand in T9.
So i would like to copy the files i have now and use Root explorer to paste them back after a flash.
The problem is that i dont know what files to copy.
I find 2 files of AxT9IME under System-app but is it only those 2?
Nothing in bin?
And i dont even know if its those files i need to copy...
Please help!

[Q] How to create update zips in kitchen

as the title suggests i would like to know how to create zips with the android kitchen to update a current rom. eg- i want to make a flashable zip that will reinstall all the bloatware apps that i have removed from my rom?
all answers appreciated
The kitchen doesn't have that feature. Try downloading a mod in the section of thee phone your developing for and open the zip with 7zip don't close it take the apps you want to flag and put then in the system folder in the zip then extract the updater-script and modify it to give it a little message or something then delete the one in. the zip and drag you new one in there I can walk you through it if you don't get it
would it work if i delete everything in the working folder of the kitchen but leave only the folder system and files that i wan to flash? then build rom... would it generate an updater-script to match then without overwriting the main rom when i flash via recovery?
I guess you could do so but why go through all that?
Option 99 in the kitchen. Follow the prompts on the screen
私のエボ3Dから送信される。

[Q] Specific Factory ROM modification

Hello,
I need to find a way to edit factory firmware:
1. insert one or two app to be preinstalled, and placed on home screen
2. change default ringtone
I tryed android kitchen, repack system.img file (which is one of many parts files of firmware i have to edit, like boot.img etc) then i edited just one thing, e.g background or place one app. And then I get stuck, i cant find way to restore system.img. Kitchen makes update.zip file..which cant be installed becouse of signature.. So my main problem is how to edit system.img? (unpacked or packed)
Basicly every advice is how to repack, open *.img file, non is to repack.
I have PAP4500DUO and A538 Lenovo. And Windows envirement. I am a rookie too.. :/

Guide: Translate/modify apk files

Thought id share this since it can be quite a hassle to find everything needed if you wanna translate stuff yourself or edit something for personal needs.
This was done on miui stable 8.1.3.0 from xiami.eu on a mi5 but should work on other miui versions and roms (with slight modification)
Download Bursoft apktool (http://bursoft-portable.blogspot.se/p/blog-page_23.html) and unzip to C:\BatchApkTool
Make sure you have java installed (www.java.com)
You will also need root
Fetch the following files/folders from your phone and copy them to C:\BatchApkTool\_framework
system/framework/framework-res.apk
system/framework/framework-ext-res/
system/app/miui/
system/app/miuisystem/
system/priv-app/miuisystemUI/
Place the apk you wanna modify in C:\BatchApkTool\_INPUT_APK\
Execute BatchApkTool.exe in c:\BatchApkTool\
Press 1 to decompile
Go to your C:\BatchApkTool\_INPUT_APK\ folder and if everything worked alright then open the newly created folder from the apk file you just decompiled and make whatever change you wanna do. If you wanna translate, then open the \res\ folder and make a new folder called values-sv (if you wanna add swedish language for example) then you can either copy strings.xml from another language folder and edit them or grab xml from a partially (or fully but not 100% voted) translated source like crowdin or github
Do not use caps or anything other wierd stuff or it wont compile afterwards
You can now return to batchapktool and press 3 to recompile and hopefully no errors, otherwise check log to determine possible cause.
Do not sign the apk!
Now open the recently modified compiled apk with winrar (your w/e zip program you prefer) and grab resources.arsc out of there. Now open a copy of the original apk and paste the resources.arsc into it (replacing the existing resources.arsc).
Plug in the phone to the computer and copy the apk to the internal memory
Open your favourite root browser (using romtoolbox filemanager myself) and go to the location of the original apk and rename it (or make a backup incase any error occurs), now copy the modified apk you copied earlier into the folder of the apk you wanna replace, e.g system/app/ or system/priv-app/
Kill/close app (incase it was started earlier) and restart it and see if the changes are live!
Edit: After you replaced the files, then you need to chmod those aswell to 0644 and possibly clear cache in twrp
Might have forgotten something but just ask and ill try to help

Categories

Resources