Enabling chinese handwriting for SUnAaBh rom - Wildfire General

First of all, I apologise for posting here instead of in the development forums, because I can't post there (reason being my post count < 10).
I've just installed my first ever custom android rom 2 weeks back using SUnAaBh v1.1, and I'm loving it well over the stock 2.1. Thank you!
I did find the chinese handwriting input missing, and after some poking around, I manage to get it working. Thought I would share it here.
Everything required is already in the rom, except for just a missing line in /system/customize/CID/default.xml
Code:
<function name="IME_sip_set">
<set name="single">
<item name="total_list">Handwriting;ZuhYin;CangJie;PinYin;Stroke;</item>
---> <item type="boolean" name="Handwriting">yes</item> <-- This line is missing
<item type="boolean" name="ZuhYin">yes</item>
Attached is a zip file which I created to patch the rom. Unfortunately, even though the file was updated correctly to the system, it didn't show the handwriting input. I wiped the cache/data/dalvik and ended up in a boot loop. So finally I repackaged the rom with this patch and reflash my phone, and voila, I get chinese handwriting, with its associated options, all working fine so far.
So if you're reading this, warriorvibhu, I hope you can consider adding this small patch to your rom, since 1) its a bit of work to repackage a rom to enable this feature (for those who needs it), and 2) for the vast majority of users who don't need it, it can be turned off in the settings, alongside the many preselected international keyboards that are enabled by default.
Alternatively, if anyone have a clue how to enable it via a zip patch, that would be cool as well.
On an unrelated note, I've extracted the boot animation from the latest wildpuzzle rom (the one with the PC bios POST animation) to a standalone zip patch. Its similar to the commodore 64 boot animation in Theme 2 (of SUnAaBh's thread), but I personally like this better. Are there any rules prohibiting me from sharing it here (assuming somebody else would like to have it as well)?

loonychewy said:
First of all, I apologise for posting here instead of in the development forums, ........ Are there any rules prohibiting me from sharing it here (assuming somebody else would like to have it as well)?
Click to expand...
Click to collapse
Hello loonychewy,
I have taken a look at your default.xml and found that there's NO such a line as
<item type="boolean" name="Chinese">yes</item>.
So it still showed up for picking on Input Language with only the content inside the <function name="IME_sip_set"> tag?
I'm trying out Stock+Sense Hybrid V5 and there's no option for Chinese Input. Although the IME_sip_set has already been presented in the file with all the right options shown, including Handwriting, these options are still missing from the menu.
Is default.xml the only file governing the (input) language selection? Do you have any idea?
Handwriting just ROCKS for folks using Chinese and I really long for it.

TheEKey said:
Hello loonychewy,
I have taken a look at your default.xml and found that there's NO such a line as
<item type="boolean" name="Chinese">yes</item>.
So it still showed up for picking on Input Language with only the content inside the <function name="IME_sip_set"> tag?
I'm trying out Stock+Sense Hybrid V5 and there's no option for Chinese Input. Although the IME_sip_set has already been presented in the file with all the right options shown, including Handwriting, these options are still missing from the menu.
Is default.xml the only file governing the (input) language selection? Do you have any idea?
Handwriting just ROCKS for folks using Chinese and I really long for it.
Click to expand...
Click to collapse
Hi TheEKey,
Kindly note that the missing line should be <item type="boolean" name="Handwriting">yes</item> instead of name="Chinese".
Honestly, I don't know much about how it all actually works. But from reading the various forums, it seems more complex than just this default.xml. My best guess is that the tag <item name="total_list"> only specifies the expected valid tags to follow, and only the presence of the following <item type="boolean" name="Handwriting/ZuhYin/CangJie/..."> tags determines whether the input option is available to the user. So for my case, adding the tag for <item name="Handwriting"> makes handwriting input available (and I know that my copy of HTC_IME.apk in the rom supports handwriting). And I guess the yes/no values specifies whether the input option is enabled by default or not.
I will download Stock+Sense Hybrid V5 to have a look, and see if I can get some clues for you.

I downloaded and had a look at the Stock+Sense Hybrid V5 rom (didn't try flashing it to my phone though). The xml files are all identical to WildPuzzle's. The only thing is that HTC_IME.apk isn't included by default in the rom. You could try to get it from WildPuzzle to install (even though HewGBalls already tried it unsuccessfully http://forum.xda-developers.com/showpost.php?p=11195690&postcount=198). If you want to try, you can add the HTC_IME.apk into the rom first before reflashing the whole rom into your phone. I had to do that before I could see the handwriting option.
(HTC_IME.apk is located in /system/app of the rom)

loonychewy said:
I downloaded and had a look at the Stock+Sense Hybrid V5 rom (didn't try flashing it to my phone though). The xml files are all identical to WildPuzzle's. The only thing is that HTC_IME.apk isn't included by default in the rom. You could try to get it from WildPuzzle to install (even though HewGBalls already tried it unsuccessfully http://forum.xda-developers.com/showpost.php?p=11195690&postcount=198). If you want to try, you can add the HTC_IME.apk into the rom first before reflashing the whole rom into your phone. I had to do that before I could see the handwriting option.
(HTC_IME.apk is located in /system/app of the rom)
Click to expand...
Click to collapse
Thanks, loony. I think it's quite complicated indeed (especially without some official documentation).
You may have seen this but well, here it goes.
http://forum.xda-developers.com/showthread.php?t=893353
So Handwriting is a HTC thingy? Hybrid V5 is on gingerkeyboard. Don't know if this fact wipes out the possibilty of using Handwriting after all.....
Let me start with adding Handwriting tag line in the xml first

TheEKey said:
Thanks, loony. I think it's quite complicated indeed (especially without some official documentation).
You may have seen this but well, here it goes.
http://forum.xda-developers.com/showthread.php?t=893353
So Handwriting is a HTC thingy? Hybrid V5 is on gingerkeyboard. Don't know if this fact wipes out the possibilty of using Handwriting after all.....
Let me start with adding Handwriting tag line in the xml first
Click to expand...
Click to collapse
Yeah, I've read that post before. Its complicated isn't it?
I won't say handwriting is exactly a HTC thingy. Chinese handwriting is obviously only useful for the east asian markets, so device manufacturers will release their handset there with their implementation of it. Conversely, they won't include it in devices for the other markets. I have found some HTC_IME.apk shared in various forums that does not include ch handwriting mode (I decompiled them), which probably means it doesn't originate from an east asian rom. Same thing for gingerbread keyboard I suppose. Finally, the reason why some wildfire roms here have ch handwriting is because they are based on an east asian version of the stock rom, which has handwriting in its keyboard (HTC_IME.apk).
Hope you'll be successful in enabling it

loonychewy said:
Yeah, I've read that post before. Its complicated isn't it?
I won't say handwriting is exactly a HTC thingy. Chinese handwriting is obviously only useful for the east asian markets, so device manufacturers will release their handset there with their implementation of it. Conversely, they won't include it in devices for the other markets. I have found some HTC_IME.apk shared in various forums that does not include ch handwriting mode (I decompiled them), which probably means it doesn't originate from an east asian rom. Same thing for gingerbread keyboard I suppose. Finally, the reason why some wildfire roms here have ch handwriting is because they are based on an east asian version of the stock rom, which has handwriting in its keyboard (HTC_IME.apk).
Hope you'll be successful in enabling it
Click to expand...
Click to collapse
I decompiled the HTC_IME from wildpuzzle rom and found that the "手寫" handwriting option was not present in the XML files of this package. It's enabled but not shown under menu tags. I guess what you say is true that it's meant to be kept hidden to those markets which don't need it
I guess I will try to pull HTC_IME from HK or CN versions of official ROM and see if I get any luck on this.
Thanks for your hints~!

TheEKey said:
I decompiled the HTC_IME from wildpuzzle rom and found that the "手寫" handwriting option was not present in the XML files of this package. It's enabled but not shown under menu tags. I guess what you say is true that it's meant to be kept hidden to those markets which don't need it
I guess I will try to pull HTC_IME from HK or CN versions of official ROM and see if I get any luck on this.
Thanks for your hints~!
Click to expand...
Click to collapse
I always thought ch handwriting works in wildpuzzle? If not, you can try the ime from sunaabh, because that is working on my phone

loonychewy said:
I always thought ch handwriting works in wildpuzzle? If not, you can try the ime from sunaabh, because that is working on my phone
Click to expand...
Click to collapse
It's funny that I switched from Sunaabh to StockSense Hybrid. I was lured by the fact that it's very clean and fast.
I got 3.xx from linpack using this ROM and that's why I would like to make this work
Anyhow, I may need to consult with danne_jo, the WildPuzzle creator.
I actually got some light on it. After I decompiled the HTC_IME and found that the handwriting is hidden for most of the languages setting except zh_ch and cn_ch. The odd thing me facing right now is that right now in the international input menu, i only have english to choose......
I guess this is international english and those 4 less wanted chinese input are available though toggling the "en" button on the keyboard.
I, secondly, guess is that if I can get international languages to show either zh_ch or cn_ch, then this will be fixed....

My way around was installed an alternative launcher on wildpuzzle, sense restricts the phones customization option. Then strip out all the HTC files suggested in hybrid Rom thread and patch anything you need and indeed the system is more efficient reaching 3mflops not a problem and best of all keeps Chinese handwriting (新年快樂) intact. Ginger keyboard is installed in wildpuzzle 0.8 too if you like it.
It would great to see a widespread solution to implement easily into other roms as well when the source is found. There is a recompiled China ruu Rom in the Rom list if it helps.
Sent from my HTC Wildfire using XDA App

I'm able to get all the different international keyboard options regardless which locale language I'm using. Quite possibly the other xml files in /system/customize/CID are responsible for restricting the input options based on current system locale, since in sunaabh, there's only default.xml, and in hybrid/wildpuzzle, there're quite a few more. The xml files in /system/customize and /system/customize/MNS may play a part too, if you compare these roms. You can try to delete these extra xml files (+possible wipe cache/data maybe <-- do backup before that, I got a boot loop and had to reflash).
This post (if you haven't already read it) doesn't really help much, but might add a bit more hints to how it works http://forum.xda-developers.com/showpost.php?p=10216720&postcount=30
@MasterDL, so you do have handwriting when you're using another launcher, but not sense?
Yeah, I would like to try out all the various roms to compare too. If I could get pass the look of despair my wife gives me when I told her I'm flashing a rom. She just don't get it!

Well... I originally flashed wildpuzzle v0.8 it was the only Rom that had the handwriting but I find that sense was too limited so I installed adw and then stripped out the unnecessary HTC apk like the weather, sense home and providers so no more back ground htc activity apart from necessary ones like the touch input and mail dependant files. This kept the touch IME intact. But it would better if ginger keyboard international unlocked as well.
Also it somehow doesn't show the wildpuzzle label anymore in the software info just 2.2.1.
Sent from my HTC Wildfire using XDA App

Related

Call for help: Contacts Chinese (pinyin) search and msyh fonts in 6.5 ROM

I am in China, and have upgraded my snap into the 6.5 ROM. I have two questions.
1. But I still could not seek contacts via the 26-key keybords, only 9 keys (T9) could be used. I've tried to install "pinyin seek.cab", but it does not work. Is there any solution?
2. The Chinese font in snap was ugly. I've tried to change fonts on 6.1 ROM, but I could not manage it on the 6.5 ROM. I tried to install the msyh.cab (14 MB), but it does not work. Any solutions?
Thanks.
which rom have you flashed? My one is tmob dash 3g, i flashed 112509, it works well for me. under \setting\tools\keymap config, select the right one for your snap.
in order to display chinese, i tried several times, at last i found one way to solve it. install msyhfull6.0(15M) first, restart, then install msyh(4M) which is extracted from snap asia 6.5rom, restart again.
belluaire said:
which rom have you flashed? My one is tmob dash 3g, i flashed 112509, it works well for me. under \setting\tools\keymap config, select the right one for your snap.
in order to display chinese, i tried several times, at last i found one way to solve it. install msyhfull6.0(15M) first, restart, then install msyh(4M) which is extracted from snap asia 6.5rom, restart again.
Click to expand...
Click to collapse
I flashed this ROM "RUU_Captain_SNAP_CHS_WM65_2.03.723.2_refry", but i could not find the keymap config at "\setting\tools\".
And could you share the "msyh(4M)" for me, thanks.
My Email is [email protected].
thank you!
http://www.hi-pda.com/forum/viewthread.php?tid=513815 Just click the link. 4Mmsyh, official asia rom(6.1?). Sorry, msyh(4M) is extracted from c720w rom, not snap's.
my one is dash 3g and the keymap is totally different with other snaps. so i flashed the "RUU_MAPL_3VOLUTION_WM65_3VO.2.50.112509.rar" cooked by ookba which has included all kinds of keymaps of snap. For me, it's enough to display and input chinese character. I don't care whether the UI is cn or en.
it's said the offical asia rom would go wrong if msyh is tried to be installed. maybe a rumor.
If you needn't chinese UI. I think you will be satisfied with the rom i have mentioned. It works stably and includes lots of useful tools. and also, i have fixed some bugs of titaniuweather.mrsc, if you need it, i can send the fixed file to you.
belluaire said:
http://www.hi-pda.com/forum/viewthread.php?tid=513815 Just click the link. 4Mmsyh, official asia rom(6.1?). Sorry, msyh(4M) is extracted from c720w rom, not snap's.
my one is dash 3g and the keymap is totally different with other snaps. so i flashed the "RUU_MAPL_3VOLUTION_WM65_3VO.2.50.112509.rar" cooked by ookba which has included all kinds of keymaps of snap. For me, it's enough to display and input chinese character. I don't care whether the UI is cn or en.
it's said the offical asia rom would go wrong if msyh is tried to be installed. maybe a rumor.
If you needn't chinese UI. I think you will be satisfied with the rom i have mentioned. It works stably and includes lots of useful tools. and also, i have fixed some bugs of titaniuweather.mrsc, if you need it, i can send the fixed file to you.
Click to expand...
Click to collapse
Thank you.
MSYH font have fixed, with a 14MB font pack and modification in the registry files.
There's no keymap config in my snap, maybe a new ROM should be flashed.
I've tried RUU_MAPL_3VOLUTION_WM65_3VO.2.00.101009 without Chinese display. So I flashed to a Asia ROM. I need further study in Hi-PDA, thank you!

Chinese android?

Hi, I am very new to the whole android scene especially since I just got my android hero this weekend. My question is that my dad has an android and english isnt his best language so I was curious if there was a chinese android 1.5 for Sprint Hero? I seen some pictures of it.
thank you.
dirtydirt said:
Hi, I am very new to the whole android scene especially since I just got my android hero this weekend. My question is that my dad has an android and english isnt his best language so I was curious if there was a chinese android 1.5 for Sprint Hero? I seen some pictures of it.
thank you.
Click to expand...
Click to collapse
not sure if sprint has muti-languages on there device.But check under settings> locale and text > select locale. And see if there's any other languages to choose.
When I was messing around with PNG files from the new Pancake ROM, I DID find a Phone apk that has Chinese symbols on it. I'm not sure at all though how you could enable that.
You can install MoreLocale, then select chinese as your UI language.
But there is a serious problem in sprint factory rom that it can not send unicode SMS corretly. The receiver will see messy code when u send chinese SMS.
This problem exists in all of Android 1.5 roms on XDA forum, and it is resolved in all of Android 2.1 roms. As u know, 2.1 roms are still in test.
Luckly, there is worked 1.5 rom in the world. This issue is resolved by chinese developer.
You can download worked 1.5 rom from www .diypda .com /forumdisplay.php?fid=237
(trim space please)
dirtydirt said:
Hi, I am very new to the whole android scene especially since I just got my android hero this weekend. My question is that my dad has an android and english isnt his best language so I was curious if there was a chinese android 1.5 for Sprint Hero? I seen some pictures of it.
thank you.
Click to expand...
Click to collapse
I'm not sure about the stock ROM but in the 2.0 AOSP ROM I'm running right now I can easily change languages and there are two Chinese options (I'm assuming one is traditional and the other is simplified.)
Menu > Settings > Language & Keyboard.
Might be worth upgrading your dad to a 1.6 AOSP ROM for at least. (I suggest 1.6 since everything, pretty much, works in those ROMs.)
Is_907 said:
I'm not sure about the stock ROM but in the 2.0 AOSP ROM I'm running right now I can easily change languages and there are two Chinese options (I'm assuming one is traditional and the other is simplified.)
Menu > Settings > Language & Keyboard.
Might be worth upgrading your dad to a 1.6 AOSP ROM for at least. (I suggest 1.6 since everything, pretty much, works in those ROMs.)
Click to expand...
Click to collapse
Unless he is unlucky and SMS doesn't work for him
Is_907 said:
I'm not sure about the stock ROM but in the 2.0 AOSP ROM I'm running right now I can easily change languages and there are two Chinese options (I'm assuming one is traditional and the other is simplified.)
Menu > Settings > Language & Keyboard.
Might be worth upgrading your dad to a 1.6 AOSP ROM for at least. (I suggest 1.6 since everything, pretty much, works in those ROMs.)
Click to expand...
Click to collapse
Does 1.6 have chinese support? Also if the rom2.0 has chinese does this mean the upcoming 2.1 patch from sprint will have chinese or they'll try to condense the size and put only english/spanish again.
楼主可以下载一个叫custom local的程序来更改Hero的语言。当然,是不完全汉化,但是日常应用肯定没有问题。这个程序可以在baidu和其他Android论坛搜到。
Op could download one apk named customlocal to change the display language. It doesn't change all the menu to Chinese. But it could be used daily. You could download this apk through baidu or the other Chinese andriod forum.

[Q] Is there any guide for changing the language of the ROM??

Hope flash english to chinese.Anyone can offer a guide about how to do this?
Thanks in advance!
clarkkov said:
It's quite easy, but it depends on the ROM you are using. Some ROMs support specific languages (locales). To change the locale go to phone's "Settings" app. Tap on "Locale and text" entry and then tap on "Select locale" entry. Select your desired locale and reboot the device.
Sadly I have not seen Chinese locale in SG3 ROMs (probably because I was never looking for it). There is Korean locale in most of SG3 ROMs. Try flashing a couple of stock ROMs to see if they have Chinese locale or wait if someone replies which ROM is he using to get Chinese locale...
Click to expand...
Click to collapse
Thank you all the same……
Maybe my description is not clear enough ,I mean how to make the ROM support chinese by modifing some files of the ROM.
My english is not good enough,hope you can understand……
clarkkov said:
Oh, that's another matter...This would include translation of the corresponding files in the framework, and the OS itself. All .apk(s) need to be translated, which considers decompiling and the recompiling the whole .apk, hunting down the GUI .xml(s), adding the translation and so on...Isn't there Chinese Android translation/localization?
...and I forgot one very important thing, the Chinese fonts and grammar! This can cause many compatibility issues. As I understand, Chinese characters cannot be translated respectively from Alphabetical characters. This would involve coding/writing a new/separate module for decoding and encoding Chinese characters. If Chinese is similar to Korean, this is the place to start. Word prediction and autocerrect software would have to be written also - for the keyboard, new keyboard layout etc...A lot of work (assuming there is no Chinese localization for Android).
Click to expand...
Click to collapse
Thx a lot.
There are people who do the translation work on the Internet.But they are not able to turn every ROM to chinese version,especially when i find a ROM which i like from xda. I think i should try to find out how they do the work and learn it……

How to replace Samsung touchwiz icons?

Is it possible to customize the icons in Samsungs TouchWIZ?
ROM still available
nurps said:
Is it possible to customize the icons in Samsungs TouchWIZ?
Click to expand...
Click to collapse
Hello
this is an answer to your question in the ROM development thread.
But I don´t have the permission to post there.
Please add this answer to your question:
http://forum.xda-developers.com/showthread.php?t=1823748
I flashed with OCTANS using a XP-notebook - that works fine.
my target was: sense rom with German keyboard (üÖÄ…)
I tried different roms, but one had no office, one or two don´t work the wifi reliable.
finally I quit with the sense-UI and come to:
Rapid_B7610_JC2_Sense_V3_Build-29020
http://www.modaco.com/topic/307676-noobody-and-rapid-sense-25-rom/
the downloadlink still works and is free.
you need a .csc
one I found here: Fluid_v2.0 ITA.7z
http://forum.hdblog.it/f63/[rom-gt-b7610]-wm-6-5-3-fluidx-build-23103-nickg-17838/
and an other (which I am using)
CSC_B7610NXXIL4.zip
e.g http://www.bergfiles.com/i/bf590123d5hdi0
Flashing the rom I choose German as the destinated language (it is available in OCTANS)
but it start with english and sense-UI
In the "seetings" you can choose "language" . changing here to German it is something like a internal flashing. the Sense-UI is gone.
with this .csc the German keyboard work like it should. Press key a´ü and u --> ü.
and wifi and 3G work reliable.
(No Senese-UI, but really good)
best regards
Bernd
Well i just finished configuring the normal ROM. So i guess i'll stick with that now.
nurps said:
Is it possible to customize the icons in Samsungs TouchWIZ?
Click to expand...
Click to collapse
here you go http://forum.xda-developers.com/showthread.php?t=2701405
yes you can replace the icons under windows folder. but you can not just copy and paste because they are system protected. you need a special program to flash them during reboot/log off. average difficulty process. pm me for more details if interested.
what is touchwiz?

[Q] AOKP JB 4.1.2 - How to change hardware keyboard layout to german?

Hello everybody,
two days ago I found this rom (http://forum.xda-developers.com/showthread.php?t=1906026) and installed it - successfully ... so far. The rom works much better than my previous one (tezet's CM10) and has even more options. But I can't get one thing working. It's the layout for the hardware-keyboard. I can type but online letters from a-z. Z and Y are correct positioned (as on the german keyboard) but when I press alt oder left-shift and then try to type a number or a special character, nothing happens except that two little arrows appear at top and bottom of the cursor pointing to its center.
What I tried to solve this problem:
- Changed languages at the settings-panel to german whereever I found such a setting
- Installed this layout-file: http://forum.xda-developers.com/showpost.php?p=32586129&postcount=35
- Extracted, copied and overwrote all files from the folder /system/usr/keylayout off of the rom I used before where everything worked fine
Unfortunately since I'm new to this site I do not yet have privileges to post right in the thread of that rom. So I'm sorry I opened another one. I hope for sympathy and help.
Big thanks in advance,
parameta
Sorry if my answer will be of little help, but here it goes.
I understand that you cannot access any special character without Alt. Have you tried by long-pressing a button ?
Furthermore, the QWERTZ keyboard is not supported yet for AOKP for Milestone 2, see http://forum.xda-developers.com/showpost.php?p=32029006&postcount=3.
The latest build of your ROM was released on 2012-10-15, but it is based on CM10 which has seen 4 builds since that date, including a really major one. I suggest you ask Megalith27 to release a new version of his ROM, based on the all-newest CM10. (Maybe I'll do that if I learn how to do it.) However I don't know whether that will solve your problem or not.
I understand this response is not so helpful, but I didn't want to leave you without any sign of life for ages.
Tschüss !
Agmenor said:
Sorry if my answer will be of little help, but here it goes.
I understand that you cannot access any special character without Alt. Have you tried by long-pressing a button ?
Furthermore, the QWERTZ keyboard is not supported yet for AOKP for Milestone 2, see http://forum.xda-developers.com/showpost.php?p=32029006&postcount=3.
The latest build of your ROM was released on 2012-10-15, but it is based on CM10 which has seen 4 builds since that date, including a really major one. I suggest you ask Megalith27 to release a new version of his ROM, based on the all-newest CM10. (Maybe I'll do that if I learn how to do it.) However I don't know whether that will solve your problem or not.
I understand this response is not so helpful, but I didn't want to leave you without any sign of life for ages.
Tschüss !
Click to expand...
Click to collapse
You will be able to get a qwertz keyboard in this Rom for sure.
just follow this link, and download my qwertz file. replace it as described. It will work. But replace just that one file. Not all the files as you have done!!!
http://forum.xda-developers.com/showpost.php?p=32586129&postcount=35
So reflash the rom zip in recovery, and do it again. You will get all the olf files back, this way.
If you want to read this how to in german, please send me a pm. I will give you another link....
I'm sorry for my late reply, but here I am.
First of all, thank you for your answers.
@Agmenor:
Yes I tried long pressing and this way I get the usual small window with offers some special characters and letters. But that's not very comfortable.
I believe, if Megalith27 had to compile a new version auf this ROM that would be too much of an effort with too little use. But thank you anyway.
@lulli1
Will I be able to write letters and special characters with your linked files or will I only get a quertz layout? Typing special characters and letters without switching to the softkeyboard or long pressing buttons is one of my demands on this rom.
By the way, do I know you from android-hilfe.de? If yes, call me "MalzMalz", that's me. If not, ignore this line.
Greetings,
parameta

Categories

Resources