[ROM][2/12/11][CHINESE] MIUI for G2 (v1.2.11) - G2 and Desire Z Android Development

http://bbs.gfan.com/android-575451-1-1.html
ignore the link at the top that one is mostly chinese the english version is provided hear thanks to da900
DOWNLOAD LINK: http://www.multiupload.com/PVZRB1NRHK
P.P.S. All you do with this pack is on your own risk. I am not responsable for any damages of your phone.[/QUOTE]

please aware that this rom is only contain about 20% english , most of words are chinese

u should be able to change it to english in the language and input settings

Is this newer than the QnD 1.2.4 rom?

Look at the number lol. 1.2.11 > 1.2.4

no that one has chinese this one does to thou dnt flash nevermind

dictionary said:
Look at the number lol. 1.2.11 > 1.2.4
Click to expand...
Click to collapse
XD I was thinking 4 > 1.
here's the changelog:
MIUI 1.2.11 version update:
Phone:
Add in the phone settings to add "call from the sensors used in the process" of setting
Fix the call log to the Canadian people through IP numbers to send SMS / MMS will bring IP prefix, resulting in the issue could not be sent
Theme:
Add support for setting alarm
Ringing in the new system comes with the option "mute"
Optimize the system comes with the choice of ring tones
Repair some of the theme of the correct format does not show the problem package
System Update:
Add WIFI connection can support the Ad-Hoc (peer to peer) network
Press the Backspace key fixed the problem miscarriage of justice
Local Backup:
Installed on the sd card repair program can not be the problem with the backup and recovery
Click to expand...
Click to collapse

terrelltp said:
no that one has chinese this one does to thou dnt flash nevermind
Click to expand...
Click to collapse
What? Slow down and make sense lol. Are you saying that you screwed up, and there is next to no English in the build?

terrelltp said:
u should be able to change it to english in the language and input settings
Click to expand...
Click to collapse
i repeat :
this rom does contain 20% of english translation only !
Even you change to english language :
your 80% of menu still display "Chinese".

So, this is useless unless you understand simplified Chinese. I'll wait on g4rb4g3 to release a port.
Sent from my htc.desireZED

Weren't there language packs you could install
Sent from my HTC Vision

Device Specific Language Packs
I think that language packs are device specific.. I haven't been able to find a language pack on the net for the G2.. though I did manage to a how to guide but I'm green to this stuff..
If somebody out here is familiar with how to do this guide and create a language pack for the G2 for us.. that would be helpful.
djmcnz said:
Okay guys, there's a lot of demand for this rom and for language packs but not yet a lot of people who know how to make the packs. Whilst I set up the crowdin translation project I can not create or maintain language packs.
So, here's a summary of the instructions required to create a language pack for MIUI (indeed for any app/rom). You need a collection of tools and a little patience but the process isn't too difficult so do give it a go.
Also note that this summary includes generalisations for brevity. These instructions assume you have a deodexed rom.
Introduction
For the purposes of this post language information is stored in XML strings in files on the Android system. In the case of MIUI and these instructions we will be dealing with .apk files (applications).
Within the apk files is a resources directory (/res) and within this are various values directories, there is a default values directory (/res/values) and alternative language values directories (e.g. /res/values-DE and /res/values-IT).
If the rom is set to use it's default language it will read values from /res/values although these may NOT be in English. In MIUI, all of the common Android ASOP values in /res/values are English but the (additional) custom MIUI strings are in Simplified Chinese.
If you select a different language in the ROM than the default then the appropriate values directory will be searched. If a suitable string that matches your language selection is found in the alternative /res/values-xx directory then that string will be used instead. If an alternative does not exist then the default will be used.
Example:
Code:
/res/[COLOR="red"]values[/COLOR]/strings.xml
<stop_button_text>[COLOR="Red"]Stop[/COLOR]</stop_button_text>
/res/[COLOR="red"]values-DE[/COLOR]/strings.xml
<stop_button_text>[COLOR="red"]Halt[/COLOR]</stop_button_text>
/res/[COLOR="red"]values-IT[/COLOR]/strings.xml
<stop_button_text>[COLOR="red"]Basta[/COLOR]</stop_button_text>
In this example, if the language is set to the default the word "Stop" will be used, if it is set to German the word "Halt" will be substituted in, likewise "Basta" for Italian.
So, to add languages to a rom (or app) or to make an app multi-lingual you need to either change the default strings in /res/values/strings.xml to the ones you want to use or, and this is the preferable approach, add a /res/values-xx/strings.xml with the translations you want. The first approach will work (changing the default strings) but is not recommended because the Android Open Source Project and Android development in general, defaults to English. It's best to use the built in language substitution capabilities of Android rather than to work around them. Indeed, if the MIUI devs actually added their strings in English to /res/values/strings.xml and the Chinese equivalents in the appropriate directory this rom would already be in English!
Adding Languages
To add a translation file (strings.xml) to an apk you need to:
decode the apk
create a language directory
add the translation files
recompile the strings
add the new strings to the apk
Which all sounds a little daunting but it's really quite straight-forward, rewarding when you see the result and a good way to understand how parts of Android work. Here's how you can do it.
1. decode the apk
You will need the excellent apktool from brut.all which you can get from the link below. apktool is relatively easy to use but includes some little tricks so you will need to read the wiki and thread about it.
Do NOT just post problems about apktool if you can't get it to work. The tool DOES work so if it's not decoding (or encoding) your apps correctly then you're probably doing something wrong. If you start with this understand BEFORE you ask for support you'll get a lot more help...
apktool: http://code.google.com/p/android-apktool/
wiki: http://code.google.com/p/android-apktool/w/list
thread: http://forum.xda-developers.com/showthread.php?t=640592
Please make sure you run the following command to include the MIUI framework in apktool. You only need to do this once for each framework. If apktool works with one rom and not the next then (re)install the framework for that rom.
Code:
apktool if framework-res.apk
Where framework-res.apk is the one from the rom you are working with. Make sure apktool can find (the correct) framework-res.apk before you run this command.
This thread is not for apktool support.
Now, before you proceed, decode a simple app from MIUI (such as updater.apk) using apktool, do not make ANY changes, then re-encode it using apktool. For example:
Code:
apktool d Updater.apk ./decoded/
apktool b ./decoded/ new_updater.apk
Use the -v (verbose) flag in apktool if you have problems and need to diagnose further.
Remember, Android uses a case-sensitive file system, make sure your capitalisation is correct.
Typically you will not be able to install this apk because it is not signed so if you want to test the process further you can now just try step 5 below using the two apks you have.​
2. create a language directory
Assuming you can decode/encode now, this is the easy bit. For your decoded app, navigate to the directory it was decoded in, then to the /res/ directory and simply create an empty directory for your language (e.g. /values-FR/) - use international naming conventions.​
3. add the translation files
Again, not too difficult this. Download the appropriate language file for your apk from the crowdin project linked below and, using the same structure as exists in /res/values/strings.xml create a new file called strings.xml in your alternative language directory (e.g. /res/values-ES/strings.xml).
The news strings.xml may contain as many or as few translations as you like. Remember, if a translation does not exist the default value from /res/values/strings.xml will be used.
Crowdin: http://crowdin.net/project/miui-rom-translation/invite
The xml formatting and tag names need to match exactly with the default strings.xml in /res/values although the translated file does NOT need to be complete.
It is worth remembering here that unless your source apk is already translated to English then some of the default values in /res/values/strings.xml will still be in Chinese, it would pay to check these.​
4. recompile the strings
Now, if you've done everything carefully and correctly this step is really easy, all you need to do is recompile the apk with apktool using the b (for Build) switch.
Code:
apktool b ./<decoded_apk_dir>/ <output_apk_name>.apk
If this throws errors or does not work then use the -v switch to turn on verbose mode and diagnose your problem. If you did the test in step #1 and it worked then any problem at this step is likely related to your news strings.xml. Back out the changes one by one until you have found the problem and try again.
If you simply can't get it to compile with your changes then try just making a single change to the default strings.xml file in /res/values and see if that works for you.
Do NOT sign the apk!​
5. add the new strings to the apk
Easy. Open your new apk with a zip program (like 7Zip for Windows) and copy out the resources.arsc file in the root directory of the apk. Now take that file and copy it into the source apk from the rom overwriting the existing one. This process replaces the strings but keeps the integrity of the signatures on the files.
You can now push the modified file to your phone, replacing the stock one, reboot and you're translated. Push the file using "adb push" or copy it into place using a root file manager, do not "install" the new apk. Make sure you put it in the correct place (replace the original) and reboot.​
Conclusion
This process will help you add languages to any app including those in the MIUI rom. Because it's a rom the strings are contained in many different apps as well as framework-res.apk. To completely translate the rom you will need to edit every apk that has strings in it.
You will need to do this every time an apk in the rom changes. If a new version is released and say launcher2.apk is changed but updater.apk is not, then you can retain your updater.apk but you'll need to re-edit your launcher2.apk.
When an app changes the default strings.xml may also change. In this case you will need to make corresponding changes to your translations.
Good luck and if you get really stuck there's lots of people in this that have achieved success and may be willing to help!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=789566

MIUI 1.2.11 for Vision ENG
Hi, all. I like the MIUI ROM and as most of you want to have latest version as soon as posible. But I am not a dev and my skills in android development are very very poor. So, i followed the versions of MIUI by g4rb4g3. They all are very stable and fast. And i want to say once more HUGE THANX to him for his work.
But when i found this thread today in the morning i decide to make it in english. So, putting together the ROM from 1st post and ENG pack for N1 from MIUI-DEV.COM with some additional editing of built.prop and adding some apps. I made a pack. Flashed it and it is working fine.
P.S. The only chinese words that i found are in MIUI account registration in Accounts&sync.
Adding: Facebook, Twitter, VoiceSearch, Google Search, gMaps, Street, GMail etc. (all apks are up to date).
DOWNLOAD LINK: http://www.multiupload.com/PVZRB1NRHK
P.P.S. All you do with this pack is on your own risk. I am not responsable for any damages of your phone.

ok cool so basically u made a english version for that latest update cool cool

terrelltp said:
ok cool so basically u made a english version for that latest update cool cool
Click to expand...
Click to collapse
Maybe, you could add the link to ENG version to 1st post of this thread. Could you?

da900 said:
Maybe, you could add the link to ENG version to 1st post of this thread. Could you?
Click to expand...
Click to collapse
i thought thats what u did isint that link u posted the english version

terrelltp said:
i thought thats what u did isint that link u posted the english version
Click to expand...
Click to collapse
I think he means add the link that HE provided to your first post, so that users will actually have an ENG version, instead of the one you posted.

dictionary said:
I think he means add the link that HE provided to your first post, so that users will actually have an ENG version, instead of the one you posted.
Click to expand...
Click to collapse
That's what i mean. Thanx.

lol yes i did that now

da900 said:
Hi, all. I like the MIUI ROM and as most of you want to have latest version as soon as posible. But I am not a dev and my skills in android development are very very poor. So, i followed the versions of MIUI by g4rb4g3. They all are very stable and fast. And i want to say once more HUGE THANX to him for his work.
But when i found this thread today in the morning i decide to make it in english. So, putting together the ROM from 1st post and ENG pack for N1 from MIUI-DEV.COM with some additional editing of built.prop and adding some apps. I made a pack. Flashed it and it is working fine.
P.S. The only chinese words that i found are in MIUI account registration in Accounts&sync.
Adding: Facebook, Twitter, VoiceSearch, Google Search, gMaps, Street, GMail etc. (all apks are up to date).
DOWNLOAD LINK: http://www.multiupload.com/PVZRB1NRHK
P.P.S. All you do with this pack is on your own risk. I am not responsable for any damages of your phone.
Click to expand...
Click to collapse
WOOOO..good job . it's perfect !!!!!!!! work very well ~!! thanks a lot

Related

New tool : DSMBuilder

Hi,
I'm developed a tool named DSMBuilder.
It's a GUI tool for make dsm files.
Package = DSM File
You can :
- Create a new package (DSM file),
- Load a existing package and modify it,
- Load new certificate for package,
- Save the certifcate of package for use in another package,
- Load new dependency packages
- Remove certificate
- Rebuild the file and module list,
- Change the friendly name of package and other attributes.
- View list of Dependency packages and Shadow GUI List
- DSM Information updated with new structure.
- Remove one dependency package
- Clear list of dependencys package and shadow GUI list
- Beta version. Tested and generate a valid DSM file with all parts.
Changelog:
2008-08-08 :
- bug fix. DSM file not saved where attributes Hidden, System or ReadOnly is setting in file.
2008-07-28:
- Initial release.
Excuse me for my bad english.
what is the difference between this and the one in BuildOS
ather90 said:
what is the difference between this and the one in BuildOS
Click to expand...
Click to collapse
With this tool, is possible load/save certificates and change friendly name of dsm files, buildOS generate a basic dsm file missing certificate.
Thanks anmendes !
Updated DSMBuilder
Updated version, see post#1 for details
anmendes said:
Updated version, see post#1 for details
Click to expand...
Click to collapse
looks like a good tool. will test it out mate
thanks.
anmendes said:
Updated version, see post#1 for details
Click to expand...
Click to collapse
great tool bro
my observations/suggestions:
1. tool doesn't work on hidden files.
2. some menu's are not in english.
3. may be u can add an option to delete the certificate from dsm
4. is it possible to edit the dependent packages list?
htctouchp said:
great tool bro
my observations/suggestions:
1. tool doesn't work on hidden files.
2. some menu's are not in english.
3. may be u can add an option to delete the certificate from dsm
4. is it possible to edit the dependent packages list?
Click to expand...
Click to collapse
-----------------------
1 - I will correct this bug.
2 - Me say what are the options that are not in English? (So I can fix them)
3 - I will add this option
4 - I'm planning functions for add and delete dependent packages list and shadown GUI list
I'm too plannig another tool based in this (mixed of pkgtool and BuildOS)
and DSM files will be saves in a xml file (also as xxxxx.dsm.xml, incorporate the actual option.xml) for future edit and manipulations.
What do you think about this?
anmendes said:
I'm too plannig another tool based in this (mixed of pkgtool and BuildOS)
and DSM files will be saves in a xml file (also as xxxxx.dsm.xml, incorporate the actual option.xml) for future edit and manipulations.
Click to expand...
Click to collapse
good idea
anmendes said:
2 - Me say what are the options that are not in English? (So I can fix them)
Click to expand...
Click to collapse
check the screenshot for my observtion.
htctouchp said:
good idea
check the screenshot for my observtion.
Click to expand...
Click to collapse
A non english text is generate for my compiler with lib in portuguese language. I fix this
Updated version. See post #1 for details
anmendes said:
Updated version. See post #1 for details
Click to expand...
Click to collapse
Hey anmendes, a changelog would be helpful
anmendes said:
Updated version. See post #1 for details
Click to expand...
Click to collapse
many improvements mate . but i still have some observations:
1. tool doesn't modify the DSM if it is having 'read only', 'system' & 'hidden' attributes. i've to remove those attributes first if i want to modify a dsm. it would be better if the tool can modify the dsm without having to remove these attributes (at least we shouldn't need to remove 'system' and 'hidden' atrributes).
2. pls add the option to minimize the tool
and i've a question, what's the use of 'dependency package list' and 'shadow gui list'? what will happen if i remove all of these dependencies from a dsm like the dsm in Shell?
htctouchp said:
many improvements mate . but i still have some observations:
1. tool doesn't modify the DSM if it is having 'system' & 'hidden' attributes. i've to remove those attributes first if i want to modify a dsm. it would be better if the tool can modify them without having to remove these attributes
Click to expand...
Click to collapse
I tried to use this new build. I dont face this problem I can see all the files (hidden & system) when I refresh the file listing
ababrekar said:
I tried to use this new build. I dont face this problem I can see all the files (hidden & system) when I refresh the file listing
Click to expand...
Click to collapse
u didnt get my point
refresh the list, make some changes and try to save that DSM which is 'hidden' and 'system'.
Great tool, works like a charm,thanks a lot bro
htctouchp said:
u didnt get my point
refresh the list, make some changes and try to save that DSM which is 'hidden' and 'system'.
Click to expand...
Click to collapse
Well, actually I removed a few modules from the folders and opened the dsm in this proggy. Refreshed the list, it still shows me all the files
ababrekar said:
Hey anmendes, a changelog would be helpful
Click to expand...
Click to collapse
I am a novice in this matter, a changelog would be something like me post a new version, increasing their number and say what was modified? Because I'm already doing something like this, but without specifying the version number.
htctouchp said:
many improvements mate . but i still have some observations:
1. tool doesn't modify the DSM if it is having 'read only', 'system' & 'hidden' attributes. i've to remove those attributes first if i want to modify a dsm. it would be better if the tool can modify the dsm without having to remove these attributes (at least we shouldn't need to remove 'system' and 'hidden' atrributes).
2. pls add the option to minimize the tool
and i've a question, what's the use of 'dependency package list' and 'shadow gui list'? what will happen if i remove all of these dependencies from a dsm like the dsm in Shell?
Click to expand...
Click to collapse
1- 2 : I will check this and put a fix. Thank you!
Good question! The dependencies are used to indicate that packages must be present so that it functions properly. The "Shadow GUI List" is a mystery to be solved. The correct that we would be tools of manipulation of ROMS to examine it and say what is missing. You are in my plans to create a new tool to manipulate ROMS with these characteristics.
@anmendes, could you pls explain this:
what's the use of 'dependency package list' and 'shadow gui list'? what will happen if i remove all of these dependencies from a dsm like the dsm in Shell or any other dsm in SYS?
Click to expand...
Click to collapse

[REF] Porting 2.1 (JM8) Samsung Keyboard to 2.2 (JPK)

Tools needed: smali, baksmali (google them), a JDK, and an extracted factoryfs.rfs from an éclair ROM.
(If you don't have a linux machine to mount an .rfs file to a directory never forget that your device has linux on it, so it can actually mount the .rfs file to a directory)
First collect the files you need from factoryfs.rfs:
/app/AxT9IME.apk
/app/AxT9IME.odex
/lib/libXt9core.so (this is actually the same file that's inside the apk)
/lib/libDHWR.so
/framework/android.policy.odex
/framework/core.odex
/framework/ext.odex
/framework/framework.odex
/framework/services.odex
Copy all the odex files into the same directory as baksmali is. Disassemble it with:
java -jar baksmali.jar -x AxT9IME.odex
This should create an out directory, with the disassembled, and deoptimized files. Now reassemble them, with smali:
java -jar out
This should create an out.dex file. Rename it to classes.dex, and put it into the AxT9IME.apk (don't be fooled by the extension, it's a simple zip file)
Now copy the following files to your phone:
AxT9IME.apk --> /system/app
libXt9core.so --> /system/lib
libDHWR.so --> /system/lib
Remove the following files:
/system/app/AxT9IME.odex
/system/lib/libdhwr.so (this is lowercase. The above was uppercase. Case does matter!)
Now try to enable the samsung keyboard. If everything goes well then you can now use the old keyboard.
-----
Alternatively if you needed the keyboard from the XWJM8 version, you can download the result files from here: http://android.sztupy.hu/dl/SamsungKeyboardFroyo.zip
Thank you
can I use this method in order to replace framework.jar/framework.odex from another build?
JHJP4 support proper BIDI (for Hebrew/Arabic and other RTL languages)
And how do we do the opposite? Want 2.44 on eclair =)
Should work the same
omrij said:
Thank you
can I use this method in order to replace framework.jar/framework.odex from another build?
JHJP4 support proper BIDI (for Hebrew/Arabic and other RTL languages)
Click to expand...
Click to collapse
No, framework.jar is too much different between eclair and froyo. You can only port simple applications (in /system/app) this way.
dupel said:
And how do we do the opposite? Want 2.44 on eclair =)
Click to expand...
Click to collapse
It would only work if the new keyboard doesn't use anything FroYo specific (like gesture support, or enhanced multitouch support). If it does use froyo specific api functions it will break under eclair.
sztupy said:
No, framework.jar is too much different between eclair and froyo. You can only port simple applications (in /system/app) this way.
Click to expand...
Click to collapse
Both frameworks are from Froyo
just different version
JP4 framework has proper BIDI support
omrij said:
Both frameworks are from Froyo
just different version
JP4 framework has proper BIDI support
Click to expand...
Click to collapse
If framework.jar changes then all pre-optimized files (odex) have to be reoptimized (the same way as the tutorial above shows), and even after that it might not work...
hi can I ask a few questions. I don't know much about these complicated things, but I will try my best.
can we collect files you asked us from factoryfs, through root explorer.
you asked to copy file with capital letters to phone and then asked to remove same file name with small letters. can one directory have two files with same name?
and finally how would we copy files to the phone?
thanks.
Sent from my Nexus One using Tapatalk
pitsyapa said:
hi can I ask a few questions. I don't know much about these complicated things, but I will try my best.
can we collect files you asked us from factoryfs, through root explorer.
you asked to copy file with capital letters to phone and then asked to remove same file name with small letters. can one directory have two files with same name?
and finally how would we copy files to the phone?
thanks.
Sent from my Nexus One using Tapatalk
Click to expand...
Click to collapse
You can use rootexplorer to transfer the files to /sdcard modify them on the PC, tran transfer them back from /sdcard to their location.
thanks I really appreciate your help can I ask you another simple question. I have downloaded jdk.
and installed it. how do I use these commands to disessemble, java jar. is there any special java prograame. thanks.
thanks v much. problem solved. ported urdu keyboard from eclair to jpk. thanks again.
How do I know which files from /lib do I need to replace?
I'm trying to use contacts apk from other froyo rom
So, I tried the above instructions, and all I get is errors with bksmali, but i get the out directory, then when I run smali, it get another bunch of errors, but no out.dex. Any help would be amazing.
I haven't tried any of this other than trying to just install the AxT9IME.apk which obviously didn't work. I can enable it but trying to switch to it or access its settings instantly resorts in a force closure.
What I don't think I've seen mentioned is whether or not the end result of this allows you to have both the 2.2 and the 2.1 keyboards. Could anyone clarify for me if you get both or just the 2.1 keyboard in the end?
Lastly, would it be possible for someone to write an app (downloadable via market) for this keyboard for any android version? Because that'd be pretty awesome.
It'd be nice if it didnt create an app-drawer icon, but I wouldn't mind as Go Launcher allows me to hide unwanted apps.
I honestly like the 2.2 keyboard, but the 2.1 one (with its 4 pages) has symbols in on it that I have seen no where else, which is pretty cool and why I'm wanting it.

Contents.xml

SystemFS\User\MultiStage\Contents.xml
You could extract this file from *.FFS or grab from handset.
Maybe some tweaking possible...
S5PC110_EVT1_UM10.pdf
2D Graphic Engine
− BitBLT
− Supports maximum 8000x8000 image size
Click to expand...
Click to collapse
<FileFormat>
<JPG>
<MaxFileSize value="4096000"/>
<MaxWidth value="5000"/>
<MaxHeight value="5000"/>
<ThumbNail>
<MaxWidth value="1280"/>
<MaxHeight value="1024"/>
</ThumbNail>
</JPG>
There are more infos in this file...
<MaxInstallCount>
<NativeApp value="100"/>
<NativeWidget value="50"/>
<JavaApp value="-1"/>
</MaxInstallCount>
</AStore>
</Contents>
</SDP>
Check out, maybe interesting or helpfull.
Best Regards
I already tryed to increase the max. resolution to 8000x8000px for jpg a week ago but it didnt worked
This file exists 2 times and I flashed them correctly to the wave (tested with sTunes after flash), the limits seems to be set somewhere else...
The image sizelimit is also higher than 4096000 byte (or what it is) - about 10 mb.
I would have liked to tweak this setting to 200 or more and see but unfortunately there are not that many good apps to install.
<MaxInstallCount>
<NativeApp value="300"/>
<NativeWidget value="50"/>
<JavaApp value="-1"/>
</MaxInstallCount>
Btw, what does this Java value mean ? Could it be that it controls whether to show icon in Menu or not ?
SystemFS\User\MultiStage
User\MultiStage
@ st0rmi
Thanks.
Yes, via sTune this file is twice.
It seems writeprotected files are most in folder SystemFS... as Backup.
If you check via TriX Firmware files. Then Contents.xml is in *.FFS... maybe edit before flashing. Then changes in both files on handset.
Not tested yet...
@ rex4u
At the moment I have nothing changed in this file, so no idea what happens.
Maybe soon few tests...
Best Regards
@adfree: Yeah thats what I have done
I just used sTunes to copy the contents.xml back to my pc and view if the edited xlm are really on my phone because it didnt worked...
@adfree
No bro' I was offering my own suggestions to this configuration file.
It might allow us to install more than 100 apps in phone and show in Menu.
Second it might show Java apps icons in Menu.
My 2 cents
xml parser
please help me
a want to parser punker xml data base.
rex4u said:
I would have liked to tweak this setting to 200 or more and see but unfortunately there are not that many good apps to install.
<MaxInstallCount>
<NativeApp value="300"/>
<NativeWidget value="50"/>
<JavaApp value="-1"/>
</MaxInstallCount>
Btw, what does this Java value mean ? Could it be that it controls whether to show icon in Menu or not ?
Click to expand...
Click to collapse
it's into the 'app counter' field, '-1' may be means 'unlimited' number of java apps installable, but I haven't read yet the whole xml... anyway if it is editable it's an interesting thing..
I saw that file a while ago while looking for something inside my phone (very special thing that made me to copy the whole phone)
there is a lot of interesting things but i never tried tweaking it
Maybe if someone have enough knowledge to add few new extensions and test them
Also removing some stupid limits would be awsome
Sorry i've no time to test that with you guys but would appreciate results
Best Regards
You dont need modif ffs or other just use pfs file to modif what you want and in real time direct phone flash pfs file and not have write protect problem
Just says Thank
Example file : dont give attention of boot img cause i dont take time to do it in 800x480 but its 400x240 then its make bug but with pfs file you can upload anything you want to change !!!
Good hack !!!
Maybe with this you can create dual boot or i dont know what a pro smoker can do, you can also try to put her rc2 or rc1 directory i dont try it !!!
Download example, in this one you can see SystemFS and Registry directory, off course you can put her all directory you want to flash pfs, using trix to modified or wave remaker more faster :
https://rapidshare.com/files/809973956/Circle.pfs
An idea its like you can make your one firmware with personal Widget installed and other idea welcome....Just take file registry and Widget folder on phone and put it on PFS
i can not open new thread
i went to parser an xml file with structure like this.
<?xml version="1.0"?>
<node1>
<node2>
<node3>
<node4>
<node5>
text
</node5>
</node4>
</node3>
</node2>
</node1>
Click to expand...
Click to collapse

{PRO} [Q&A] How to change physical keyboard layout on xperia mk16i

As I'm a newbie here, I'm not aloud to post this in the dev section.
So I'll explain how you can simply change you're physical keyboard layout on Gingerbread and ICS easily without flashing an appropriate kernel for the Xperia Pro mk16i iyokan.
-So first you need root access.
-second, you need to install a root explorer like ES file explorer.
activate the root access to /system in the option of ES file explorer.
-ones you're here, you need to identify all the layout you're rom got. they are listed as xml files in the directory:
/system/usr/keyboard-config/layouts
my rom contains almost all keyset imaginable.
-Now you've find the name of your keyset find the file :
/system/usr/keyboard-config/keyprint.xml
-edit it with the file explorer integrated file editor.
-you'll find a file formatted with a fanzy SE header and that:
HTML:
<Keyprint>
<Script name="arabic" keylayout="arabic"/>
<Script name="cyrillic" keylayout="cyrillic"/>
<Script name="greek" keylayout="greek"/>
<Script name="hebrew" keylayout="hebrew"/>
<Script name="latin" keylayout="qwerty"/>
<Script name="thai" keylayout="thai"/>
</Keyprint>
-Choose the alphabet you use and put the name of your layout without the xml file extension.
if you're europeen or american, I guest latin will be you're choice.
For arabic, greek, croatian russian... and every other languages using an another alphabet I let you choose
So for example if I want to change my latin layout from Qwerty to Qwertz
I replace the line
HTML:
<Script name="latin" keylayout="qwerty"/>
by
HTML:
<Script name="latin" keylayout="qwertz"/>
-so save the file and reboot you're phone, you should now get the right keyboard set for you're phone.
Or you can edit it with adb by pulling the file and pushing it after (but it's a bit more tricky
Have a good night and if anybody can move my thread in the good section I'll be very pleased
ps:
All credits and inspiration came from the original post of ameer1234567890 which provide a lot of flashable layout.
I think this works only on stock and stock based ROMs. Can someone please confirm if this works on a ROM like CM7 or CM9.
I'd like to know too, because i used to use cm7 on htc dz but as cm7 or 9 are still in dev for mk16i I never tried them on mine for now
Hey.can u be more specific? How to do this?
I got the file..and now what should i do?
Thnx
Sent from my MK16i using xda premium
anamul.quader said:
Hey.can u be more specific? How to do this?
I got the file..and now what should i do?
Thnx
Sent from my MK16i using xda premium
Click to expand...
Click to collapse
I had an example in the tuto, if you still don't understand, I'll try to explain it again ;-)
Good luck
This does not work in 3rd party apps (smart keyboard pro and swiftkey), also on some cases chrome will misbehave as well. I think chrome is bypassing the xperia keyboard when it's trying to be super-secure such as entering passwords.
Chrome won't show you virtual keyboard at all in such cases so I think it can be safely filed under BUG but that won't help if you can't sign in. Using opera mobile as a workaround works..
I'm pretty sure the stock gingerbread finnish firmware played nice with smart keyboard pro. There's a link in the "root" Xperia pro thread where you can download "hotfix" for Xperia pro. These claim to be keyboard layouts for various languages. These are NOT the text files you describe here but the actual android keymap files.
They did not work for me, though, boo. I'll have to try again. The files in keychars-folder (MAKE BACKUPS!!) are .kcm.bin while the originals are called .kcm. I would assume both are not used at the same time. In keylayouts (backup bro) the replacement files are .kl, same as original but smaller.
3rd party keyboard has never been my point.
Stock android is handling physical keyboard a certain way, and virtual keyboard such as slide it or swiftkey do as they want with that kind of thing.
Switft never works correctly for me with stock rom or with custom rom.
Sorry if it doesn't work.
but if every software interprete keyboard there own way, we're damn lost. I never use Chrome but I guest it can also interprets keyboard layout its own way.
the flash fix you talk about is interesting, I'll try it asap. thks
Those keyboard layout/keychars files just make the HW keyboard stop working properly. I think they come from mini pro. Or at the very least they'd need some configury thingy somethere.
As a positive note, they DO make HW keyboard behave differently but swedish/finnish one definitely does not produce local chars.
Meh, I guess I need to fork up 2€ for wotanserver to get authentic finnish firmware.
FWIW I'm pretty sure stock finnish gingerbread firmware didn't have a problem with smart keyboard pro. And android + keyboard is a bit of a odd-man-out, we don't even get a forum..
Ed: Chrome works ok 95% of the time, I should file bug about text boxes where it goes crazy.
That's too bad, that it doesn't work for you.
Fact is we are at the border of android with physical keyboard.
And ow with nexus 3 without physical button except for sound and power...
I think (not hope) that physical keyboard for phones is almost arrived at its end.
Regarding stock firmwares, my update to ICS made by official sony companion just put me a Qwerty layout :-D so don't be so sure about stock firmwares ;-)
Umlauts in quertz
anybody know how to fix the orders of the umlauts for qwertz layout in the pop-up and make the SYM-Button working?
flashing of files newer worked for me, or a could'nt more use the shortcuts like copy-paste...
see also this thread: http://forum.xda-developers.com/showthread.php?t=1658959&page=20
Search trough the web for solution. nothing.
Physical keyboard has a driver, or own FW or sumthing?
And can i have the stock xperia physical keyboard app?
My sym button doesn't work, my direction arrows are weird, qwerty-stroke keyboard layout. But i accept the latin one too
Or where is this "driver"-stuff in the ROM? Can i copy from old ROM (which one is working), to ICS .587 (which don't)?
Thanks in advance
I installed the arabic script from ameers collection and the language changed to arabic.. thing is my keyboard has the same layout as arabic version but I wanted the english characters.. I tried your method but whatevr script I keep for my keyboard layout, it still follows the same script even after rebooting.. pls help..
Sent from my MK16i using xda app-developers app
ilfunx said:
I installed the arabic script from ameers collection and the language changed to arabic.. thing is my keyboard has the same layout as arabic version but I wanted the english characters.. I tried your method but whatevr script I keep for my keyboard layout, it still follows the same script even after rebooting.. pls help..
Sent from my MK16i using xda app-developers app
Click to expand...
Click to collapse
I'm having the same problem, so if you found a solution over the last few months, could you share it with me, please?
Method not working
Kiwyxda said:
As I'm a newbie here, I'm not aloud to post this in the dev section.
So I'll explain how you can simply change you're physical keyboard layout on Gingerbread and ICS easily without flashing an appropriate kernel for the Xperia Pro mk16i iyokan.
-So first you need root access.
-second, you need to install a root explorer like ES file explorer.
activate the root access to /system in the option of ES file explorer.
-ones you're here, you need to identify all the layout you're rom got. they are listed as xml files in the directory:
/system/usr/keyboard-config/layouts
my rom contains almost all keyset imaginable.
-Now you've find the name of your keyset find the file :
/system/usr/keyboard-config/keyprint.xml
-edit it with the file explorer integrated file editor.
-you'll find a file formatted with a fanzy SE header and that:
HTML:
<Keyprint>
<Script name="arabic" keylayout="arabic"/>
<Script name="cyrillic" keylayout="cyrillic"/>
<Script name="greek" keylayout="greek"/>
<Script name="hebrew" keylayout="hebrew"/>
<Script name="latin" keylayout="qwerty"/>
<Script name="thai" keylayout="thai"/>
</Keyprint>
-Choose the alphabet you use and put the name of your layout without the xml file extension.
if you're europeen or american, I guest latin will be you're choice.
For arabic, greek, croatian russian... and every other languages using an another alphabet I let you choose
So for example if I want to change my latin layout from Qwerty to Qwertz
I replace the line
HTML:
<Script name="latin" keylayout="qwerty"/>
by
HTML:
<Script name="latin" keylayout="qwertz"/>
-so save the file and reboot you're phone, you should now get the right keyboard set for you're phone.
Or you can edit it with adb by pulling the file and pushing it after (but it's a bit more tricky
Have a good night and if anybody can move my thread in the good section I'll be very pleased
ps:
All credits and inspiration came from the original post of ameer1234567890 which provide a lot of flashable layout.
Click to expand...
Click to collapse
Good Post, i tried it but it does not work after i reboot.
So my keyboard is still the QWERTY layout instead of QWERTZ
Also, some detailed instructions on ES Explorer.
Once you open ES Explorer, Left Drawer --> Go to Tools --> Root Explorer --> Mount RW --> Set / to RW
Now you can follow the steps to edit the keyprint.xml
Again let me remind you, i tried this and it does not work. So if i have done it the wrong way, please let me know.

Custom firmware - [email protected] @ LGP698 - LG Optimus Link Dual Sim

is the result of
http://4pda.ru/forum/index.php?showtopic=294336&view=findpost&p=19037286
screenshots in the post with the theme
Custom firmware
To install over rekaveri
[email protected]​
before the tests do nandroid backup, just in case ...
installation
1. We enter into Recovery mode
2. We select Wipe Data / Factory Reset
3. choose mount and storage
4. select mount / system
5. select format / system
6. Choose install zip from sdcard
7. select chose zip from sdcard
8. Select the file [email protected]
install the firmware ....
9. We are waiting for inscription Install from sdcard complete
10. Then select Reboot system now
Features
after installing the firmware go to the menu and settings lokskrina - check on eneybl)
devaysa unlock only the power button - the other does not respond
gathered the best and workable from previous versions kastomov
added some applications
Removed fade-and SMS when receiving a call
recommendations
- Use the profile smartassV2 122-825 Mhz ....
- Do not play with overclocking ... kernel is not quite this and other profiles working correctly at high frequencies ...
- If not satisfied - you can rearrange the default kernel .... but I have consistently and correctly it works
- It is better to finish the setup procedure after selecting a date and time. After selecting a synchronization vayfay - Installer stops working ... can set things up later via the menu)
- If you want the kernel to work, as in the original firmware - do not change the settings of CPU Seth! The default factory settings are just firmware!
- After the first run to give permission for root requests
- Just activate the locker, including it - as in the screenshot
- If you turn to control the locker volume keys - will be constantly changing in lock screen call volume - will be examined with its settings!
- Turning \ partial use of animation - work much better! Also in the settings of the launcher recommend disabling - so I like)))
- Background on the screenshots - chosen from the default wallpaper launchera.Mozhete put his)))
- You can change everything to your liking, and how you want! I am not responsible for any consequences
- ...
Features
a few days of use - very pleased! This is the best of that while able to do)))
1. The emphasis is on surfing the internet - all fully working in fashion browser! Plus, blocked ads, pop-ups (those with an Internet connection to use free applications - will understand what I mean)
2. Multimedia - all included) to work correctly with Cyrillic fonts on the system level
3. The option of increasing the system font, for those who have eyesight is not very ...
4. Fully running record from the line in the kernel
5. The ability to use a different profile management of the core
6. Look in the widget! There's a lot of useful information - lock, equalizer, etc.
7. Phono - Widget operator and device information + logo in the status bar, it is convenient for our devaysa not exactly what pereputaesh sim active!
8. Power Toggles - Advanced power management widget.
9. Curtain of nrm-hawk with Quick Panel Settinds
10. A fully working adobe flash. And all that is connected with the work of his demanding applications. Or requiring its components
11. Removed fade-
12. Caller's picture on the entire screen
13. Emphasis on GPS - navigation. More stable operation and fast searching for satellites. Not pumped completely, because while only versed in the technical aspects. Configured for Ukraine. If you want to rebuild Russia - to help application FasterGPS
14. updated the default sounds. replaced the bottle animation and sound downloads
15. Other features in the screenshots - and choose the best from all the usable driver for our device) In my vzgyad)))
16. on the offer for a use frequency and profile-battery lives as well as on the usual stock sewing), but is much more pleasant to work with the phone)
17 ....
criticism,
- I'm just a user, just like you! I do not expect a miracle!
- Questions related with sewn software - do not answer
- About sewn software - discussion in the relevant subjects
- Guys or who had not to use)
- Downloading and installing my version of the assembly - you agree with my reservations
- I have no one and nothing to
- Especially in front of anyone and anything not required to report
- If you do not like something - a lot of decent options have to use - but the best option, will join to develop and assist with the development of the firmware!
- ... the taste and color - all the markers are different ....
- Do for themselves and for themselves
- Constructive suggestions welcome
- An example of co-operation and the option - in this post in the spoiler "goodies" by wmk
- In the course understand
- In my opinion the best and choose to add, before it received the consent of the authors to use the firmware in your assembly
- I do not care what you call me ... and name)
- Tongue wag ... no bags roll ...
- If you want to help - I do not refuse)
noticed
- Sometimes an incoming call slip sliders and retractable curtain bottom
- While native blocker is defeated ...
- ...
download links
http://yadi.sk/d/mBwZfnO029UhH
md5sum [email protected]
F660F31F84862C1A81C75690C22ABF75
If you like my work, please press Thanks Button!
hi
i want install your rom but i cant download it !!
mediafire link is dead
and another link don't have resume support and can't download
please upload rom on mediafire again or is there newer version of rom for p698?
thanks
n.m.t.u.1986 said:
hi
i want install your rom but i cant download it !!
mediafire link is dead
and another link don't have resume support and can't download
please upload rom on mediafire again or is there newer version of rom for p698?
thanks
Click to expand...
Click to collapse
mediafayr on blocked files
link is available for download at http://yadi.sk/d/mBwZfnO029UhH
reference work and downloaded
other assemblies see http://4pda.ru/forum/index.php?showtopic=294336&view=findpost&p=19437787
download links http://www.mediafire.com/?amjj4hj13114xpm
thanks alexejtka4
is it possible add arabic and persian language to rom(at least writing language)?
Awesome Rom
Dude you are the man. Love yeah for all your work. I am a dead fan of you now. I just dint two lil Things.
1) Is there any way to make call screen proper. Its too weird. Pic has no clarity due to enlargement.
2)Default backgroud( black colour) is better than that pic as background for settings etc.
Can you suggest a way to change it or can you change it. Please.
I am having rev3. Rev2 shows bad command while installling. Why?
n.m.t.u.1986 said:
thanks alexejtka4
is it possible add arabic and persian language to rom(at least writing language)?
Click to expand...
Click to collapse
I can try
need a full copy of the firmware folder /system/ with the desired language
I find it easier to rebuild for the new firmware
and boot.img kernel rekaveri
Put on the sharing link here and tell
for example http://www.mediafire.com
djgeorgeonline said:
Can you suggest a way to change it or can you change it. Please.
I am having rev3. Rev2 shows bad command while installling. Why?
Click to expand...
Click to collapse
a broken link in the download - I fixed it
try to download again and re-install the firmware
trying to eliminate defects....
some of my build here is not lined
You can view the complete list of work here - http://4pda.ru/forum/index.php?showtopic=294336&view=findpost&p=19780784
here is not often )
constantly on the Russian forum http://4pda.ru/forum/index.php?showtopic=294336
write in the subject - I will try to help
there can follow the news of assembly and firmware
Start new topic
decorations - http://4pda.ru/forum/index.php?showtopic=426426&view=getnewpost
This may be used http://translate.google.com
Thank you for your reply
SIR CAN YOU PLEASE DESCRIBE THE DIFFERENCE IN REV 2 AND REV3 IN BRIEF?
ALso can you please help in changing settings background pic and also call screen? please.
Wonderful alexejtka4!!! I have seen a lot of work for P698 in 4pda.ru forum but could not read anything. Thank you very much for posting here in English.
Are there any ICS rom available for P698?
djgeorgeonline said:
ALso can you please help in changing settings background pic and also call screen? please.
Click to expand...
Click to collapse
difference in the desktop....
in the next firmware is already fixed
testing now
ready - you can download
n.m.t.u.1986 said:
thanks alexejtka4
is it possible add arabic and persian language to rom(at least writing language)?
Click to expand...
Click to collapse
in any of the firmware you like to replace the following
from the folder system
system\app\HIME*.apk + system\app\HIME*.odex
system\lib\libautohan_jni.so
system\lib\libjni_pinyinime.so
system\lib\libjni_xt9input.so
system\lib\libxt9core.so
system\usr\xt9\config\databases.conf
system\usr\xt9\databases\* Copy the entire folder with the replacement
system\usr\xt9\asdb.bin
system\usr\xt9\udb.bin
on these files will need to set the permissions and ownership as they were
before that they need to remember
or
Attachments to the input language for the installation of rekaveri
but there is not the right language for you
just take them out of their firmware and copier with replacement
Unzip archiver
replace file
Reassemble
Set via a firmware rekaveri
so you can write in your desired language
that's all I can suggest
ravisghosh said:
Wonderful alexejtka4!!! I have seen a lot of work for P698 in 4pda.ru forum but could not read anything. Thank you very much for posting here in English.
Are there any ICS rom available for P698?
Click to expand...
Click to collapse
understand
this particular language ...
there is ICS rom not and will not be soon
is impossible to make port....
alexejtka4 said:
difference in the desktop....
in the next firmware is already fixed
testing now
ready - you can download
Click to expand...
Click to collapse
is one of the results http://forum.xda-developers.com/showthread.php?p=39298288#post39298288
Custom firmware
To install over rekaveri
Nahim2k7-update​
alexejtka4 said:
in any of the firmware you like to replace the following
from the folder system
system\app\HIME*.apk + system\app\HIME*.odex
system\lib\libautohan_jni.so
system\lib\libjni_pinyinime.so
system\lib\libjni_xt9input.so
system\lib\libxt9core.so
system\usr\xt9\config\databases.conf
system\usr\xt9\databases\* Copy the entire folder with the replacement
system\usr\xt9\asdb.bin
system\usr\xt9\udb.bin
on these files will need to set the permissions and ownership as they were
before that they need to remember
or
Attachments to the input language for the installation of rekaveri
but there is not the right language for you
just take them out of their firmware and copier with replacement
Unzip archiver
replace file
Reassemble
Set via a firmware rekaveri
so you can write in your desired language
that's all I can suggest
Click to expand...
Click to collapse
thanks alexejtka4
but i don't undrestand what to do !
what i should do with attachment file?
i want add persian language to rom
n.m.t.u.1986 said:
thanks alexejtka4
but i don't undrestand what to do !
what i should do with attachment file?
i want add persian language to rom
Click to expand...
Click to collapse
This file is laid out as an example to the instructions
to set the language in the letter rekaveri
how to add input languages ​​in the firmware
you need to replace these files to the firmware files from the Persian
and install assembled archive files through the superseding rekaveri
I do not have Persian firmware
I do not where to make the assembly
-------
copy and place the entire folder in the archive /system
I'll see what can be done
i undrestand that i should replace persian language files from lg stock rom to your custom rom is this right?
i have persian lg rom (V10G_00.kdz) but i can't extract persian language files from it
how can i do this?
thanks in advance
Ok.Thank you
alexejtka4 said:
difference in the desktop....
in the next firmware is already fixed
testing now
ready - you can download
Click to expand...
Click to collapse
But i have used this ROM earlier. and had great trouble with network(data network) and I liked your alex rev3 rom Very much. Just two drawbacks.
I did not like the default background image of androidhawk .It could have been a black screen.
I just hate call screen. Its too boring with switch and i accidently reject and pickup calls.Please make it look modern.
Thats all. Thank you.Please fix it if possible.
Thank you sooo much for this!! This is my favorited ROM for LG P698. A little advice:
Maybe it would be better if the display font and display buttons or menus style on change as the display like BRD_p698_21062012 ROM-v2, so the look of this rom may be more visible light and fast. Also the background wallpaper looks not good. I like the status bar style. :fingers-crossed:

Categories

Resources