Hi,
I found a custom dictionary for my language and I just can't get it to be recognized. I unzipped LatinIME.apk and created a new "raw" folder for it in res, there already was the xml layout present in the .apk.
I signed the zip using this tool(mass apk signer) and copied the new apk into system/app and set the correct permissions. However when I go into keyboard>input languages I can still only choose the layout, the dictionary is not available.
But if put my main.dict into and existing raw folder, for example "raw-it", and go to choose italian the dictionary works. However then I don't have the special characters for my language.
So there's some link missing, something to link the newly created raw-hr folder to the layout.
Below you can find the original LatinIME.apk and the main.dict. If someone can fix this for me, I'd be much obliged.
Thanks!
revan17 said:
Hi,
I found a custom dictionary for my language and I just can't get it to be recognized. I unzipped LatinIME.apk and created a new "raw" folder for it in res, there already was the xml layout present in the .apk.
I signed the zip using this tool(mass apk signer) and copied the new apk into system/app and set the correct permissions. However when I go into keyboard>input languages I can still only choose the layout, the dictionary is not available.
But if put my main.dict into and existing raw folder, for example "raw-it", and go to choose italian the dictionary works. However then I don't have the special characters for my language.
So there's some link missing, something to link the newly created raw-hr folder to the layout.
Below you can find the original LatinIME.apk and the main.dict. If someone can fix this for me, I'd be much obliged.
Thanks!
Click to expand...
Click to collapse
These links maybe be able to help you out:
blog.cone.be/2010/08/19/android-keyboard-dictionaries/
https://play.google.com/store/apps/details?id=free.inputmethod.latin.perfectkeyboard
Sent from my SCH-I535 using xda premium
revan17 said:
Hi,
I found a custom dictionary for my language and I just can't get it to be recognized. I unzipped LatinIME.apk and created a new "raw" folder for it in res, there already was the xml layout present in the .apk.
I signed the zip using this tool(mass apk signer) and copied the new apk into system/app and set the correct permissions. However when I go into keyboard>input languages I can still only choose the layout, the dictionary is not available.
But if put my main.dict into and existing raw folder, for example "raw-it", and go to choose italian the dictionary works. However then I don't have the special characters for my language.
So there's some link missing, something to link the newly created raw-hr folder to the layout.
Below you can find the original LatinIME.apk and the main.dict. If someone can fix this for me, I'd be much obliged.
Thanks!
Click to expand...
Click to collapse
I'm having the same problem.
I'm trying to add the Hebrew dictionary from CM to the stock LatinIME so suggestions and swype would work in Hebrew.
I've pulled the main_iw.dict file from the CM LatinIME.apk and tried inserting it to the stock LatinIME under "\res\raw" where all the other .dict files are and then replaced the modified LatinIME.apk with the original.
This has no effect.
I wonder how CM solved this...
Any luck with your attempts?
Related
It has been asked before... and I think I have the hang of some of it... BUT...
I have been modifying some of my app icons via xRecovery. The method I used was via 7zip and replaced the iconfiles through there... I have been using [FW 2.1.1.A.0.6] Black HTC Theme for X8/X10mini/pro ~XRECOVERY~ [UPDATE:11.03.2011] and the enclosed "app-update.zip" via xRecovery.
Now to my questions!
1: Where do I find my installed apps (apk´s) on the internal storage? I use RootExplorer and was thinking about copying apk´s to the memorycard and then transfer to my PC, modify them there
2: Can I use the "app-update.zip" method to all selected apps? For example... the App-update.zip" contains "SemcContacts.apk" and it workes fine to change this way... but can I just put "handcent.apk" or "Ndrive.apk" in the same "app-update.zip" without any problems?
I hope I have explained so you guys can understand what I´m talking about...
Best regards
Manneman, Sweden
1: "/system/app" and "/data/app"
2: if you do it with 7zip yeah it will work if you give them the same name and place in the app-update.zip
example you want to replace "com.blablabla.hey" in direction /data/app
you need to name the app "com.blablabla.hey" and in the app-update.zip it need to be placed in the dir /data/app
Hmmm... Ok, I found the *apk´s under "system/app"... no worries there. I just replace the png "CalendarProvider.apk" that represents the icon. via 7zip. After that I implement it with "app-update.zip"
"app-update.zip" contains two folders... META-INF and system. The system-folder contains the folder app witch has some apk´s... That these apk´s is coming from "system/app" on the internal storage I understand. So in order to install modified apk from "data/app" I have to create a folder in my apps-update that is named data/apps with my modified apk´s?
So in the end my "apps-update" will look like this:
apps-update.zip containing Folders META_INF, system and data coresponding to the apk´s I have changed...
All this will be done with 7zip without extracting anything....
Manneman32 said:
Hmmm... Ok, I found the *apk´s under "system/app"... no worries there. I just replace the png "CalendarProvider.apk" that represents the icon. via 7zip. After that I implement it with "app-update.zip"
"app-update.zip" contains two folders... META-INF and system. The system-folder contains the folder app witch has some apk´s... That these apk´s is coming from "system/app" on the internal storage I understand. So in order to install modified apk from "data/app" I have to create a folder in my apps-update that is named data/apps with my modified apk´s?
So in the end my "apps-update" will look like this:
apps-update.zip containing Folders META_INF, system and data coresponding to the apk´s I have changed...
All this will be done with 7zip without extracting anything....
Click to expand...
Click to collapse
yup your right BUT!
in META_INF if you click through all maps that are in there you will end up with a file called update-script
drag it on you desktop
open it with wordpad(!)
search this line "copy_dir PACKAGE:system SYSTEM:"
and paste this underneath it
"copy_dir PACKAGE:data DATA:"
without the quotes ofc
owain94 said:
yup your right BUT!
in META_INF if you click through all maps that are in there you will end up with a file called update-script
drag it on you desktop
open it with wordpad(!)
search this line "copy_dir PACKAGE:system SYSTEM:"
and paste this underneath it
"copy_dir PACKAGE:data DATA:"
without the quotes ofc
Click to expand...
Click to collapse
Awww...sweet. That was just what I needed to hear. I was sure that something like that had to be added!
BTW... the modified apk´s will overwrite the original ones, right? No backup-crap (like Windows) is made by the Xrecovery installation?
Thanx!!!
Worked like a charm!!!
Thank you for all the help!!!
Well...I take that back...
I just replaced the iconfiles with my modded ones... the same name and size as the original. Everything done within 7zip...
All the apk´s within the "system"-folder worked fine... bur the ones within the "data"-folder uninstalled instead. In Appbrain the are still installed but in the drawer the are gone. I had a couple of them as shortcuts on my homescreen and the I get the message that thay are not present on my system.
Thank god it was only a couple of apk´s i modded so I reinstalled them via Market.
I added the line as You described but something must have happened?
// Manneman
There are 4 selectable Fonts on my SGP5, and an option to downlaod additional ones. I can't seem to find the font folder that these fonts are located (don't appear to be in System/Fonts folder). Is there a way to add fonts (into whatever folder the optional fonts are), without rooting?
You can get apk fonts then manually install them. After installation, the fonts would appear as part of the choices. No root needed
Sent from my YP-G70
tcat007 said:
There are 4 selectable Fonts on my SGP5, and an option to downlaod additional ones. I can't seem to find the font folder that these fonts are located (don't appear to be in System/Fonts folder). Is there a way to add fonts (into whatever folder the optional fonts are), without rooting?
Click to expand...
Click to collapse
Hi,
When I search using Root Explorer on my SGP5, I see a bunch of .ttf files (truetype font files).
Jim
Where? (other than System/fonts)? Looking for that choco cookie one, I figure if that's not in a system folder, I could just drag ttf fonts there. I'll look for an apk to install them.
jimcpl said:
Hi,
When I search using Root Explorer on my SGP5, I see a bunch of .ttf files (truetype font files).
Jim
Click to expand...
Click to collapse
If you have a rooted device, you can use the "Font Installer" app.
https://market.android.com/details?id=com.jrummy.font.installer
It has a HUGE number of fonts for you to choose from.
tcat007 said:
Where? (other than System/fonts)? Looking for that choco cookie one, I figure if that's not in a system folder, I could just drag ttf fonts there. I'll look for an apk to install them.
Click to expand...
Click to collapse
Hi,
Sorry. I forgot to mention the directory. Yes, they're in /system/fonts (lower-case 's' on 'system') on my SGP5.
BTW, I think that you can't just drop the .ttf files into the directory. I think (not sure) that there's also some kind of associated XML file somewhere that is needed (again, not 100% sure).
Jim
I didn't see the same fonts in that folder that are in setting options. I agree you can't drag fonts into that folder unless you are rooted. I just find it odd there is an option to download custom fonts from the market "get fonts online" that will install, and not be able to just drag tt fonts into some folder. I have font changer on my rooted Optimus that work great, just haven't rooted my SGP yet. So far no real reason.
Hey guys,
this afternoon i decided to write a simple C program which creates the updater-script for an update.zip specific for our g3
Version 2.0 is there
I rewrote the original Version and made it MUCH more userfriendly
The Program will create an Folder named "Projekt" in its root directory.
In this folder it creates the directory META-INF\com\google\android. There will be the updater-script and the update-binary
Moreover, if you choose the system option it will create a folder called "system" in this "Projekt" folder. After it has created
this folder the program will call the windows explorer and opens this new system folder.
Now the user knows what he has to do! He should copy his files into this folder
The Program won't go on until the user answered the question "ready with copying" with yes.
The same is in the data option.
You can choose between:
.) copy system folder to /system
.) copy data folder to /data
.) free chooseable path to a file you want to delete
.) display a guide for making update.zips
After you are ready you hast have to zip the folders inside "Projekt" and you are done
Pls tell me if you like
I don t see where to choose language. Make it in English.
ohh f*ck i forgot that cause i made it for a german user :/
ill upload a new version later
Sent from my GT-I5800 using Tapatalk
dhirend_6d said:
I don t see where to choose language. Make it in English.
Click to expand...
Click to collapse
I fixed the download
The program is now in english
If you find grammatical errors...you can keep them
Version 2.0 is there
Does it support Amend or Edify?
friend863 said:
Does it support Amend or Edify?
Click to expand...
Click to collapse
edify (;
i made it especially for galaxy 3
Thanks, will give it try soon!
looping
when i choose 1 then type Y only it loops and loads a bunch of folder I think its a bug
Hi!
I started to translate Puzzle Alarm Clock. I unpacked the .apk file and translated the strings.xml file. Everything was OK, but when I packed in the file to .apk and overwrote the old application, the English language was still the default and I can't change it. I don't know what to do.
Please help. If you want, I will upload the files, what I changed, and the stock .apk.
Thank you, and sorry for my bad English.
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