{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
RoryB managed to compile a Mortscript that takes care of the boredom I feel when changing my today screen wallpaper.
Basically the idea is that every time you update weather in manila, the weather icon becomes the today screen. It is also very important to use the same images from manila due to the already super high file count.
Well, he cleverly managed to make it work! (Post 29) Now I got the images together.
THIS WILL REPLACE YOUR ENTIRE MANILA SKIN
REQUIREMENTS:
* MORTSCRIPT 4.2 (attached)
* MANILA Update 23/MEGA
* MANILA GFX CAB (also attached)
OPTIONAL: I included my R TSK "R" is for R-type. install cab, run TSK, then re-run the script.
Patched Manila Mega 1919
Weather Patched Mega Manila for 6.5 only
Weather Patched Manila (Update 23) for 6.1
Manila2D WeatherCities Editor
Keep checking this thread for updates. There is a new script on post 2
Directions to edit the HTCHomeSettings.XML are also on post 2
I have made a tweak to the script to shorten the time it switches to the weather tab to the absolute minimum. If you are looking at the M2D and the script runs, it just flickers for a second and that's all you see.
------------------------------------------
Start of original post by S.V.I
------------------------------------------
manila XML. these are the edits that You have to make:
Some of the lines in the home tab Have to be edited like below
The weather panel can be copied and pasted (solves landscape issues)
This is not the final weather tab. I still have to edit some stuff.
I have a feeling that the reason that some people are having issues not seing it on their today screen, is that the digital clock overlaps the background. so it has to be analogue.
The HOME tab xml (If you edit just the lines below) should fix your analogue clock for both analogue and digital.
Then you need to edit registry:
[HKEY_LOCAL_MACHINE\Software\HTC\Manila2D\Home]
"ClockType"=dword:00000000
Manila XML said:
<HTCHome version="3.00.0" device="OPAL" portrait="0,0,320,294" landscape="0,0,320,214">
<HomeWidget> MAKE THE FOLLOWING EDITS
<Property name="IDHMWG_CLOCKBTN_1STDIGIT_POS" id="3" value="39, 68" />
<Property name="IDHMWG_CLOCKBTN_2NDDIGIT_POS" id="4" value="77, 68" />
<Property name="IDHMWG_CLOCKBTN_SEPARATOR_POS" id="5" value="115, 68" />
<Property name="IDHMWG_CLOCKBTN_3RDDIGIT_POS" id="6" value="125, 68" />
<Property name="IDHMWG_CLOCKBTN_4THDIGIT_POS" id="7" value="163, 68" />
<Property name="IDHMWG_CLOCKBTN_AMPM_POS" id="9" value="200, 91" />
<Property name="IDHMWG_ANALOGCLOCK_CENTER_POS" id="81" value="119,93" />
</HomeWidget>
OVERWRITE YOUR WEATHER TAB IN THE MANILA XML (HTCHomeSettings.XML) COMPLETELY
<WeatherWidget>
<Property name="IDWEWG_LASTUPDATEBTN_RECT" id="0" value="160,40,70,15, 147,40,151,15"/>
<Property name="IDWEWG_WEATHERBTN_RECT" id="1" value="4,47,232,60, 4,47,312,60" />
<Property name="IDWEWG_LOCATIONBTN_RECT" id="2" value="4,51,232,200, 4,51,312,23" />
<Property name="IDWEWG_STATUSTXT_RECT" id="3" value="15,91,210,110, 15,51,290,60" />
<!--Property name="IDWEWG_LOCATIONTXT_RECT" id="4" value="15,121,210,22, 15,136,290,22" /-->
<Property name="IDWEWG_LOCATIONTXT_RECT" id="4" value="15,121,210,22, 140,60,210,22" />
<!--Property name="IDWEWG_LASTUPDATETXT_RECT" id="5" value="90,53,150,18, 147,40,151,15" /-->
<Property name="IDWEWG_LASTUPDATETXT_RECT" id="5" value="156,50,82,15, 204,40,82,15" />
<Property name="IDWEWG_ADDCITYTXT_RECT" id="6" value="15,51,210,60, 15,51,290,60" />
<Property name="IDWEWG_ARROWTXT_RECT" id="7" value="0,28,10,13, 0,28,10,13" />
<!--Property name="IDWEWG_TEMPERATURETXT_RECT" id="8" value="8,33,80,40, 15,33,80,40" /-->
<Property name="IDWEWG_TEMPERATURETXT_RECT" id="8" value="8,33,80,40, 8,23,80,40" />
<Property name="IDWEWG_DOWNARROWRELEASE_IMGID" id="9" value="83" />
<Property name="IDWEWG_DOWNARROWPRESS_IMGID" id="10" value="82" />
<Property name="IDWEWG_REFRESH_IMGID" id="11" value="84" />
<Property name="IDWEWG_SEPERATELINE_IMGID" id="12" value="86" />
<Property name="IDWEWG_DOWNARROW_POS" id="14" value="212,118,307,74" />
<Property name="IDWEWG_UPARROW_POS" id="15" value="212,52,300,74" />
<Property name="IDWEWG_REFRESH_POS" id="16" value="220,116,300,10" />
<!--Property name="IDWEWG_WEATHER_POS" id="17" value="58,15,165,25" /-->
<Property name="IDWEWG_WEATHER_POS" id="17" value="30,-15, 30,-15" />
<Property name="IDWEWG_SEPERATELINE_POS" id="18" value="0,210,0,210" />
<!--Property name="IDWEWG_HIGHTEMPTEXT_TODAY_RECT" id="19" value="8,78,65,15, 8,78,65,15" /-->
<Property name="IDWEWG_HIGHTEMPTEXT_TODAY_RECT" id="19" value="8,85,60,15, 8,65,60,15" />
<!--Property name="IDWEWG_LOWTEMPTEXT_TODAY_RECT" id="20" value="8,93,65,15, 8,93,65,15" /-->
<Property name="IDWEWG_LOWTEMPTEXT_TODAY_RECT" id="20" value="8,100,60,15, 8,76,60,15" />
<!--Property name="IDWEWG_DAYTEXT_WEEK_RECT" id="27" value="0,4,100,12, 0,5,100,25" /-->
<Property name="IDWEWG_DAYTEXT_WEEK_RECT" id="27" value="0,4,100,12, 0,4,100,12" />
<!--Property name="IDWEWG_HIGHTEMPTEXT_WEEK_RECT" id="28" value="0,0,26,15, 175,5,30,15" /-->
<Property name="IDWEWG_HIGHTEMPTEXT_WEEK_RECT" id="28" value="0,0,26,15, 175,0,26,10" />
<!--Property name="IDWEWG_LOWTEMPTEXT_WEEK_RECT" id="29" value="0,0,26,15, 210,5,25,15" /-->
<Property name="IDWEWG_LOWTEMPTEXT_WEEK_RECT" id="29" value="0,0,26,15, 210,0,26,10" />
<Property name="IDWEWG_SEPERATELINE_IMGID_P" id="30" value="116" />
<!--Property name="IDWEWG_SEPERATELINE_POS1" id="31" value="50,143, 47,145" /-->
<Property name="IDWEWG_SEPERATELINE_POS1" id="31" value="47,143, 170,82" />
<!--Property name="IDWEWG_SEPERATELINE_POS2" id="32" value="0,166,0,168" /-->
<Property name="IDWEWG_SEPERATELINE_POS2" id="32" value="0,166, 0,100" />
<!--Property name="IDWEWG_LOCATIONINDEXTXT_RECT" id="33" value="197,100,38,23, 0,0,0,0" /-->
<Property name="IDWEWG_LOCATIONINDEXTXT_RECT" id="33" value="205,100,34,20, 285,29,34,20" />
<Property name="IDWEWG_FORECASTCONTROL_RECT" id="34" value="0,0,0,62, 0,0,0,62" />
<!--Property name="IDWEWG_LASTUPDATETITLE_RECT" id="35" value="90,38,150,15, 147,40,151,15" /-->
<Property name="IDWEWG_LASTUPDATETITLE_RECT" id="35" value="135,38,105,15, 183,28,105,15" />
<Property name="IDWEWG_SEPERATELINE1_IMGID" id="36" value="197" />
<Property name="IDWEWG_SEPERATELINE2_IMGID" id="37" value="198" />
<!--Property name="IDWEWG_WEATHERTEXT_RECT" id="38" value="0,141,240,22, 15,136,290,22" /-->
<Property name="IDWEWG_WEATHERTEXT_RECT" id="38" value="0,141,240,22, 123,80,240,22" />
<Property name="IDWEWG_UPARROWRELEASE_IMGID" id="39" value="85" />
<Property name="IDWEWG_UPARROWPRESS_IMGID" id="40" value="84" />
<Property name="IDWEWG_WEATHERNODATA_IMGID" id="41" value="239" />
<Property name="IDWEWG_WEATHERNODATA_POS" id="42" value="75,34, 40,45" />
</WeatherWidget>
.
Click to expand...
Click to collapse
I am not familiar with Mortscript, but isnt it an idea to read out the current weather from the registry, and depending on the values change the wallpaper
This has been accomplished somewhat before, with Manila I believe, but the previous poster was right, its a MortScript that pulls weather information and based on the results, changes the default wallpaper image.
yea jmltoday for titanium does it but im not sure about manila.
right. thats the idea. for manila, the best wallpaper change would be the title line as it is the only graphic that can be in the back of all the other elements nd can have the transparencies to keep whatever background anyone wants to choose.
I tried to make the weather tab with full screen weather, but it covers up the city name and weather description text... but looks really cool.
I am going to tr to figure this out within the manila xml.. something that I have not tried yet... however I dont have much hope for it. :/
Everything is possible ... sometimes You could use JMLToday for that...
I'm not sure, if you need Titanium to install it properly - but afterwards - only call jmlmeteo-Script (Put weathercode (e.g. "USNY0001" for New York) from MSN in Registry-Key "Ville" ) and adapt the weatherbackgroundchanger from JMLLibrary - to change Manila-Wallpaper instead of st_water...
Greetz
Micha
It could be a mortscript that checks the value for the icon in [HKEY_LOCAL_MACHINE\Software\HTC\Manila2D\Weather\0]
If it has changed since the last time it checked, it can set a variable to that icon name and reset the wallpaper registry to call a file with a similar name that is the right size.
It would then sleep for a period of time and then repeat the process.
This probably means a separate folder or group of image files that do not mess up the weather tab.
S.V.I said:
right. thats the idea. for manila, the best wallpaper change would be the title line as it is the only graphic that can be in the back of all the other elements nd can have the transparencies to keep whatever background anyone wants to choose.
I tried to make the weather tab with full screen weather, but it covers up the city name and weather description text... but looks really cool.
I am going to tr to figure this out within the manila xml.. something that I have not tried yet... however I dont have much hope for it. :/
Click to expand...
Click to collapse
Am I right, you mean the top-curtain?
why not creting different _manila files (don't know the name of the top curtain file) and just replace them by the mortscript? I don't know if we have to restart manila, that we can see the change of the file, but that would be the best and maybe the most easy way, right?
I like that idea.. but have no skills in creating _manila files or mortscript :/
maybe we can use the already existing mortscript for s2u2 and modify it?
The idea is the same.. we just have to find the manila file, create some grapics and replace the filepath in the script with \Windows\ so that it copies the _manila files to windows
I was kind of hoping that we can just use the manila files tat are already there. no sense in increasing the filecount. I can make te weather icons full screen and set it at 0,0
I dont have the programing knowledge to do this.
I also tried to edit the order of the files in the weather tab in the xml, but it did not work
has anyone tried to make a dll for the large weather icons? it would be nice to get rid of the 88 weather icons and just have one dll... that's just my opinion.
Can you tell me the reg key that holds the wallpaper name?
How often would you like the routine to check for a change in the weather data?
it is whatever the NON default walpaper is. basicaly,if ou set the toda wallpaper with pimg, you set the walpaper for manila home page. so thats good news.
now it's just a matter of setting the toay wallpaper to the wheather image from manila files. I would asume from everytime you run the weather update. Posible?
it should alo be the image from forcast0 in manila as that is the first city.
http://forum.xda-developers.com/showthread.php?t=528715&highlight=weather
Hello.. I´ve tried this one... If you have s2u2 the funktion is like you want..
But you can read in my post, that i deinstalled it, because its eating my akku...
http://forum.xda-developers.com/showthread.php?t=528715&highlight=weather
Hello.. I´ve tried this one... If you have s2u2 the funktion is like you want..
But you can read in my post, that i deinstalled it, because its eating my akku...
I have this so far.
Code:
FilePath="\windows\"
CurWx=RegRead( "HKLM", "\Software\HTC\Manila2D\Weather\0", "Icon" )
While( (CurWx EQ "" )="FALSE")
If( CurWx eq PreWx )
Else
PreWx=CurWx
RegWriteDWord( "HKCU", "\Software\Microsoft\Today", "DPI", 96 )
RegWriteDWord( "HKCU", "\Software\Microsoft\Today", "UseStartImage", 1 )
RegWriteString( "HKCU", "\Software\Microsoft\Today", "Wall", FilePath & "HH_WEATHER_" & CurWx & ".png" )
RedrawToday
EndIf
Sleep( 10000)
CurWx=RegRead( "HKLM", "\Software\HTC\Manila2D\Weather\0", "Icon" )
EndWhile
This changes the registry values associated with the wallpaper. Problem is redrawtoday does not show the wallpaper. I have noticed when I make the settings in the today settings page it appears to run a prgram (based on waitcurser showing up). I have not been able to catch what the prgram is. This may need to be a .NET or C program.
no problem i can do this...
i already hav written scripts earlier to update the...wallpaper...animate etc etc..
now u want the image to update according to the weather right?
have useen sense ui?u know the weather thingy on top.like a widgety thing...i can make that or just this what u r saying?
which do u think is better?
plus r u vga?...wvga?
ALSO:
the weather in manila updates when v go to the page..so this modification will update the wallpaper based on the updated weather..i dint think it can update the weather itself..
il take this as my next project
Found what I needed
Code:
# In case we decide on a different file folder or if use a different weather source
FilePath="\windows\"
# start wallpaper if not already started
RegWriteDWord( "HKCU", "\Software\Microsoft\Today", "DPI", 96 )
RegWriteDWord( "HKCU", "\Software\Microsoft\Today", "UseStartImage", 1 )
# Read the current weather icon
CurWx=RegRead( "HKLM", "\Software\HTC\Manila2D\Weather\0", "Icon" )
# Start the loop
While( (CurWx EQ "" )="FALSE")
If( CurWx eq PreWx )
#do nothing here
Else
PreWx=CurWx
# so name reads correctly in today settings
RegWriteString( "HKCU", "\Software\Microsoft\Today", "Wall", "HH_WEATHER_" & CurWx )
Copy( FilePath & "HH_WEATHER_" & CurWx & ".png", "\Windows\stwater_240_320.gif", TRUE)
Copy( FilePath & "HH_WEATHER_" & CurWx & ".png", "\Windows\stwater_320_240.gif", TRUE)
# to get the wallpaper loaded
SendMessage( HWND_BROADCAST, WM_WININICHANGE, 242, 0 )
# to get the today screen refreshed
RedrawToday
EndIf
# adjust sleep to how long you want to wait between refreshes, but the more often it runs, the more resouces it uses
Sleep( 10000)
CurWx=RegRead( "HKLM", "\Software\HTC\Manila2D\Weather\0", "Icon" )
EndWhile
I believe the weather tab does not update automatically if it is not active. What I have noticed is that if I go to the tab and it has been longer than 2 or 3 hours it automatically starts to update. Otherwise I pick the leftsoft key to update now.
I do not have a switch to turn it off, but you can use taskmanager to kill this.
BTW I have 4 suns showing up based on the file size. I am trying to find a setting for tilemode versus fit or centered like PC's desktop image.
RoryB said:
Found what I needed
Code:
# In case we decide on a different file folder or if use a different weather source
FilePath="\windows\"
# start wallpaper if not already started
RegWriteDWord( "HKCU", "\Software\Microsoft\Today", "DPI", 96 )
RegWriteDWord( "HKCU", "\Software\Microsoft\Today", "UseStartImage", 1 )
# Read the current weather icon
CurWx=RegRead( "HKLM", "\Software\HTC\Manila2D\Weather\0", "Icon" )
# Start the loop
While( (CurWx EQ "" )="FALSE")
If( CurWx eq PreWx )
#do nothing here
Else
PreWx=CurWx
# so name reads correctly in today settings
RegWriteString( "HKCU", "\Software\Microsoft\Today", "Wall", "HH_WEATHER_" & CurWx )
Copy( FilePath & "HH_WEATHER_" & CurWx & ".png", "\Windows\stwater_240_320.gif", TRUE)
Copy( FilePath & "HH_WEATHER_" & CurWx & ".png", "\Windows\stwater_320_240.gif", TRUE)
# to get the wallpaper loaded
SendMessage( HWND_BROADCAST, WM_WININICHANGE, 242, 0 )
# to get the today screen refreshed
RedrawToday
EndIf
# adjust sleep to how long you want to wait between refreshes, but the more often it runs, the more resouces it uses
Sleep( 10000)
CurWx=RegRead( "HKLM", "\Software\HTC\Manila2D\Weather\0", "Icon" )
EndWhile
I believe the weather tab does not update automatically if it is not active. What I have noticed is that if I go to the tab and it has been longer than 2 or 3 hours it automatically starts to update. Otherwise I pick the leftsoft key to update now.
I do not have a switch to turn it off, but you can use taskmanager to kill this.
BTW I have 4 suns showing up based on the file size. I am trying to find a setting for tilemode versus fit or centered like PC's desktop image.
Click to expand...
Click to collapse
That would not be nesesary if the weather image itelf is 320X268 easy to do by changing the canvas size from the top left corner.
I have mine set to auto download
I would love to try it. can you cab it up? I actually dont have mort in my rom right now.
I will update the gfx later tonight (way late at night unfortunately)
rotastrain said:
no problem i can do this...
i already hav written scripts earlier to update the...wallpaper...animate etc etc..
now u want the image to update according to the weather right?
have useen sense ui?u know the weather thingy on top.like a widgety thing...i can make that or just this what u r saying?
which do u think is better?
plus r u vga?...wvga?
ALSO:
the weather in manila updates when v go to the page..so this modification will update the wallpaper based on the updated weather..i dint think it can update the weather itself..
il take this as my next project
Click to expand...
Click to collapse
Would thi be run with mort? or a eparate process?
and manila2D is Qvga.. but I do not think it makes a difference.
if the manila is set to download weather on auto this should not cause a problem.
Thanks guys! this will be the coolest thing to happen to manila EVER!!
You can install mortscript from his website.
Just download this file and remove .txt from the file name to get the script.
Are you sure yours is updating in the background?
Do you know if there is a registry that changes or program that runs while the weather data updates? Watching for that to change is the only way I know of and I think that will still have to have a time span set in it. I just talked myself into thinking this is the best way I have for now.
I am still going to try to find a way we do not have to resize the images.
I just tried it. it canged the reg but not the image.
I think that it has to be the set as wallpaper context menu that does it.
Okay. Since a lot of people are starting to link to this thread when people have problems with the hardware keyboard, I thought I would change this post to a guide instead
This guide is using ADB. Guide to root explorer method: http://forum.xda-developers.com/showpost.php?p=8971685&postcount=33 (Credits to the original poster).
1. Paste the following lines in a CMD (windows) or Terminal (mac) and it's assumed that you have root
Code:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
cp /system/usr/keyboard-config/keyprint.xml /sdcard/keyprint.xml
Now you have the keyprint.xml on your SD Card. Open it with your favorite text editor (On your computer).
You will get a file looking like this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!--
*********************************************************************
* ____ _____ _ *
* / ___| ___ _ __ _ _ | ____|_ __(_) ___ ___ ___ ___ _ __ *
* \___ \ / _ \| '_ \| | | | | _| | '__| |/ __/ __/ __|/ _ \| '_ \ *
* ___) | (_) | | | | |_| | | |___| | | | (__\__ \__ \ (_) | | | | *
* |____/ \___/|_| |_|\__, | |_____|_| |_|\___|___/___/\___/|_| |_| *
* |___/ *
* *
*********************************************************************
* Copyright 2010 Sony Ericsson Mobile Communications AB. *
* All rights, including trade secret rights, reserved. *
*********************************************************************
-->
<!--
Keyprint name: QWERTY Swedish/Finnish
-->
<keyprint>
<script name="cyrillic" keylayout="cyrillic"/>
<script name="greek" keylayout="greek"/>
<script name="latin" keylayout="qwerty-no-dk"/>
</keyprint>
It's the line
Code:
<script name="latin" keylayout="qwerty-no-dk"/>
We're interested in. "qwerty-no-dk" represents your hardware keyboard layout.
This can be changed to anything found in the layouts folder.
You can see the avaliable languages by typing the following commands (I assume you started a new CMD or terminal)
Code:
adb shell
su
cd /system/usr/keyboard-config/layouts
ls
Now you get a list of all the avaliable languages in your firmware. And can change the keyprint.xml file accordingly.
When you're done, save the file. It's now time to upload it again.
And again, type the following commands, in a new CMD or Terminal.
Code:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
cd /system/usr/keyboard-config/
rm -r keyprint.xml
cp /sdcard/keyprint.xml /system/usr/keyboard-config/keyprint.xml
Now you need to reboot your phone, and you'll have the new hardware layout
ENJOY!
(Oh, and if there's any errors in this guide, please tell me. This is done out of my memory.)
Original post said:
Hey!
I've changed my build.prop file to a NG2 code yesterday, and got the 1.2 update for my X10 mini pro.
However, now the keyboard layout of the hardware keyboard is swedish or something. I want it to be danish!
Æ becomes ä
Ø becomes ö
But å is right.
What file/files should I look in for the config?
I've got danish language on the phone, it's just the layout for the hardware keyboard that's wrong.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=7827223&postcount=88
vlissine said:
http://forum.xda-developers.com/showpost.php?p=7827223&postcount=88
Click to expand...
Click to collapse
hmm thanks. but it didn't work
I've got the file, and as I thought it said swedish / finish layout.
It looked like this:
Code:
<keyprint>
<script name="cyrillic" keylayout="cyrillic"/>
<script name="greek" keylayout="greek"/>
<script name="latin" keylayout="qwerty-se-fi"/>
</keyprint>
I've tried changing it to:
Code:
<keyprint>
<script name="cyrillic" keylayout="cyrillic"/>
<script name="greek" keylayout="greek"/>
<script name="latin" keylayout="qwerty-dk"/>
</keyprint>
didn't work.
Then I tried:
Code:
<keyprint>
<script name="cyrillic" keylayout="cyrillic"/>
<script name="greek" keylayout="greek"/>
<script name="latin" keylayout="qwerty-dan"/>
</keyprint>
And still no luck
Any ideas?
How about qwerty-da?
thekindladies said:
How about qwerty-da?
Click to expand...
Click to collapse
nope
Checked the folder Layouts inside the keyboard-config folder. And in there there's a layout called qwerty-se-fi (like it was when I pulled the keyprint.xml the first time), and there's one called qwerty-no-dk and i've tried changing the keyprint file to qwerty-no-dk, but still no luck :S
nevermind.. played around with the files, and now it works.. don't know what I did
But thanks for your help!
and I was just about to tell you I was going to try it out on my phone. I might do it anyway. I might be asking for your help
thekindladies said:
and I was just about to tell you I was going to try it out on my phone. I might do it anyway. I might be asking for your help
Click to expand...
Click to collapse
hehe.. You just do that
think the trick is to delete the original keymap file from the phone before copying. and not just overwriting.
And maybe to do a restart immediatly after, and selecting the right language (again) in the settings..
That's what I did when it worked
I simply moved my modified file to the keyboard-config folder with root explorer and it got overwritten. I now definitively have a qwerty keyboard. Tell me, where are those elusive Danish letters supposed to be?
ok, found them. though i didn't need to change the language in settings. lovely. i shall certainly not be keeping azerty =D
thekindladies said:
ok, found them. though i didn't need to change the language in settings. lovely. i shall certainly not be keeping azerty =D
Click to expand...
Click to collapse
haha
maybe that's not what did the trick then.. As said, I don't know what I did
change in the last of the 3 lines the "qwerty-se-fs" value to any name found in ./layout/ (without .xml added to the name of course)
(change description as well if you like)
delete keyprint.xml before copying modified keyprint.xml
don't know if deleting is necessary, but works definately
good work guys!
greets Mo
Mooozer said:
change in the last of the 3 lines the "qwerty-se-fs" value to any name found in ./layout/ (without .xml added to the name of course)
(change description as well if you like)
delete keyprint.xml before copying modified keyprint.xml
don't know if deleting is necessary, but works definately
good work guys!
greets Mo
Click to expand...
Click to collapse
can you please be a bit clearer?
which files do we change?
he is talking about the keyprint.xml in system/usr/keyboard-config folder and the keyboard layout file (e.g. qwerty-se-fi.xml) in the system/usr/keyboard-config/layouts folder.
check the layouts that are already present in the layouts subfolder. if the one you need is already there, simply edit the keyprint.xml file to change the line before last to match the layout you need.
i have an azerty keyprint but if i needed the qwerty-se-fi layout, then i'd change the line <script name="latin" keylayout="azerty"/> to <script name="latin" keylayout="qwerty-se-fi"/>. there is another line where AZERTY comes up, but you don't actually need to edit that one, since it is only a comment and not a proper code.
now, if you need a layout that is not already present on the phone, you can edit a copy of an existing one in the layout subfolder.
i in the end kept my azerty keyboard with some modifications to suit my needs, like
<key id="16"
primaryNormal="a" primaryShifted="A"/>
associatedNormal=""" associatedShifted="""
<key id="17"
primaryNormal="z" primaryShifted="Z"
associatedNormal="ž" associatedShifted="Ž"/>
and so on.
it is fairly simple but make sure you overwrite the original keyprint.xml file with the modified one otherwise the system will still be reading that one instead of the new file.
i am still on android 1.6. i don't know if the paths are the same in 2.1.
this trick doesnt work for me
at default i get the swedish on the keyprint, it messed up with the hardware keyboard espesially with the comma, dot, ? and so on. and then i modified the keyprint
from qwerty-se-fi to qwerty-en
reboot
hey its still like that....didn't work HELP
casablank0,
check the file again to verify that the changes were saved. i did exactly the same thing using root explorer and it works.
i did, in fact i've tried many times, reboot many times....
didn't work....
totally confused
maybe you could attached or paste the content of the file here so others can help out
thekindladies said:
he is talking about the keyprint.xml in system/usr/keyboard-config folder and the keyboard layout file (e.g. qwerty-se-fi.xml) in the system/usr/keyboard-config/layouts folder.
check the layouts that are already present in the layouts subfolder. if the one you need is already there, simply edit the keyprint.xml file to change the line before last to match the layout you need.
i have an azerty keyprint but if i needed the qwerty-se-fi layout, then i'd change the line <script name="latin" keylayout="azerty"/> to <script name="latin" keylayout="qwerty-se-fi"/>. there is another line where AZERTY comes up, but you don't actually need to edit that one, since it is only a comment and not a proper code.
now, if you need a layout that is not already present on the phone, you can edit a copy of an existing one in the layout subfolder.
i in the end kept my azerty keyboard with some modifications to suit my needs, like
<key id="16"
primaryNormal="a" primaryShifted="A"/>
associatedNormal=""" associatedShifted="""
<key id="17"
primaryNormal="z" primaryShifted="Z"
associatedNormal="ž" associatedShifted="Ž"/>
and so on.
it is fairly simple but make sure you overwrite the original keyprint.xml file with the modified one otherwise the system will still be reading that one instead of the new file.
Click to expand...
Click to collapse
that was very clear...thank you man.
but still no success here...
keyprint already says qwerty-en and that xml is in my layouts folder but its like the system is still reading the qwerty-se-fi layout!
i'm gonna try editing the qwerty-se-fi.xml to reflect the qwerty-en layout and see if it works...
*no go...
it's as if it's reading another keyprint.xml somewhere...
are all the ones editing the keyprint.xml here on 2.1?
Hi Im developing a xPeria S Keyboard with hw Support but i have Problems to convert it what i have found are follow ´things
uploaded one developer kit for all that want to help me.
the Rom that the xperia S Keyboard works and we have to fix the layouts only i have uploaded here Achotjan_Semc_Debrand_Engine_v30_Beta_04_U20i.zip
this includes the Keyboard of Achotjan_Semc_Debrand_Engine_v30_Beta_04_U20i -> download here -> http://rapidshare.com/files/1307696133/keyboards.zip
-> it has the properties : - If you install it on minicm 10 it crashes ( xperia process has been finish Or so)-
- you can Setup the xperia s Keyboard if you set another Keyboard as Default...
- you notice it if it will be Switches to be in Hardware mode -> it don't work in minicm10 at the Moment if somone have time you can test it on minicm7 and write nme if it is working there
they are the orgiginal files in it without changes
Semc_Debrand_Engine_6.0.B.0.743_U20i -> http://rapidshare.com/files/1821291341/developer_patchsemc_6.0b.zip
xperia S Keyboard and Hardware use . im understanding how it works basicalyy but im not a expert in it later i will send you some Information what i find
but what i find is follow:
the xperia mini pro (sk17i) has a similiar structur with the x10mini pro in the things, Keyboard layout, chars and so on. on my xperia s Keyboard there isn't the structure avable so the Keyboard can't use it. i belive the key for sucseess is in the
Folders
/System/Usr/Keyboard-config ------------------------>
/System/USR/Keychars - ------------------------->
/System/USR/Keylayout ------------------------> similiar to minicm7 xperia Keyboard
System/USR/srec
/System/USr/textinput
/System/USR/XT9
Note the files : qwerty.kcm.bin; mimmi_keypad.kcm.bin; or z8d files we can open with hexeditor
so If we can adapt to our x10mini pro we should have an xperia S- Keyboard that the Hardware Keyboard should work with it and we have a update to our minicm7 Keyboard .. I don't know how but if you find a way it is a Milestone in our x10mini pro . hope everyone can help me
Developer_Package_with_xperia_sabithwsupport Note to edit some file you should use Notepad++ and a hexeditor --> i don't have any knowledge about hex files
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i have tryied follow things
http://forum.xda-developers.com/showthread.php?t=2102979
http://forum.xda-developers.com/showthread.php?t=1547404
http://forum.xda-developers.com/showthread.php?p=18569390
http://forum.xda-developers.com/showthread.php?t=1670352
http://forum.xda-developers.com/showthread.php?t=2155803
this are my files with Keyboard of both and fixes
http://forum.xda-developers.com/showthread.php?t=2094572
so what i have found is follow on xperia S i have found a way to be activate the blue key for it. But without ÄÜÖ the rest are avable.
if i have something Change in keychars and keylayout the minicm7 use the left blue key for both.
In one configuration the xperia s try to load the Hardware Driver with sim key and so on but it goes back to the original state. In the Framework Folder i found in one xperia s interessting things suqushashinput.jar ----> (ist a file of our minicm7 too) and uxprexe it is the file of the xperia s Keyboard. i don't know but im belive this are the user Interface of Hardware using of the Keyboard.....
In the Folder Keyboard-config you find 11 files that are similar to minicm7 Keyboard. only the language files are a bit otherwise of the Name in our phone. I believe if we use the rigth files of booth and create it that the xperia s Keyboards loads the minicm7 Interface it should be working or if the xperia s inteface is loading with modified files to our phonen i hope anyone can help me
- apk Manager: apl managere
hi bro
yesterday i tested latest nAa's nightly with latest nAa(jb)04 kernel...hwkey works fine with my keychars but there's one problem
L key seems like works as RETURN key
When I press L key phone comes back to homescreen.
Do you now why? Thanks
yes
Chuck95 said:
hi bro
yesterday i tested latest nAa's nightly with latest nAa(jb)04 kernel...hwkey works fine with my keychars but there's one problem
L key seems like works as RETURN key
When I press L key phone comes back to homescreen.
Do you now why? Thanks
Click to expand...
Click to collapse
It is always a kernel bug you can test it . go to cwm -> advance -> Key test
now you ssee on some keys are two keys
the Problem isn't fixed correctly
R: Developing XPERIA S / T for X10 Mini pro with HW Support!
Thank you very much
Sent from my U20i using xda app-developers app
---------- Post added at 10:29 PM ---------- Previous post was at 10:16 PM ----------
Hiii...I noticed one thing
Before replace keychars when I typed with hw keyboard there were these problems:
-when I type i it shows ''ijj'' and same problem with other buttons but now that i replace keychars there isn't no more this problem so i think that problem with L key is in ROM not in KERNEL because if i fixed it i can fix L key too...I will let you know
Sent from my U20i using xda app-developers app
---------- Post added at 10:32 PM ---------- Previous post was at 10:29 PM ----------
If i fix it you can add my usr folder in your new project
Sent from my U20i using xda app-developers app
Nice work, released that
Hi i tested rom changing usr folder...I replaced it with older but problem is still there so we have to wait a new kernel
It would be nice if this would work :good:
Achotjan gave up to try and make it work in Semc Debrand Engine.
There is a lot of discussion about the XPERIA S HW-keyboard-problem in that thread, also alot of good sugestions and info. It's a long thread, but worth looking throug for some inspiration :silly:
Also the sk17i-HW-keyboard got more keys (extra row to the right) than U20i-HW-keyboard. This gave alot of headache for us all, LOL
Emperor.dk said:
It would be nice if this would work :good:
Achotjan gave up to try and make it work in Semc Debrand Engine.
There is a lot of discussion about the XPERIA S HW-keyboard-problem in that thread, also alot of good sugestions and info. It's a long thread, but worth looking throug for some inspiration :silly:
Also the sk17i-HW-keyboard got more keys (extra row to the right) than U20i-HW-keyboard. This gave alot of headache for us all, LOL
Click to expand...
Click to collapse
im knowing up that in one configuration i have a similar Hardware layout configuration of minicm7 Keyboard if im using Default Input and in xperia s i have the qwertz ofthe config of minicm7 nbut without sym key and later i have a configuration with working blue keys without symkey and qwerz but with no function it on the minicm7 arg
allesand said:
im knowing up that in one configuration i have a similar Hardware layout configuration of minicm7 Keyboard if im using Default Input and in xperia s i have the qwertz ofthe config of minicm7 nbut without sym key and later i have a configuration with working blue keys without symkey and qwerz but with no function it on the minicm7 arg
Click to expand...
Click to collapse
this is my configuraton, working fine for me, hard keys and blue keys (Achotjan rom)
HTML:
<?xml version="1.0" encoding="utf-8"?>
<Keyboard xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../scancode_mapping.xsd">
<!-- First row -->
<Row>
<MappingKey scancode="16" id="C1.1" />
<MappingKey scancode="17" id="C1.2" />
<MappingKey scancode="18" id="C1.3" />
<MappingKey scancode="19" id="C1.4" />
<MappingKey scancode="20" id="C1.5" />
<MappingKey scancode="21" id="C1.6" />
<MappingKey scancode="22" id="C1.7" />
<MappingKey scancode="23" id="C1.8" />
<MappingKey scancode="24" id="C1.9" />
<MappingKey scancode="25" id="C1.10" />
<MappingMetaKey scancode="14" id="META_DELETE" />
</Row>
<!-- Second row -->
<Row>
<MappingKey scancode="30" id="C2.1" />
<MappingKey scancode="31" id="C2.2" />
<MappingKey scancode="32" id="C2.3" />
<MappingKey scancode="33" id="C2.4" />
<MappingKey scancode="34" id="C2.5" />
<MappingKey scancode="35" id="C2.6" />
<MappingKey scancode="36" id="C2.7" />
<MappingKey scancode="37" id="C2.8" />
<MappingKey scancode="38" id="C2.9" />
<MappingKey scancode="40" id="C2.10" />
<MappingMetaKey scancode="28" id="META_ENTER" />
</Row>
<!-- Third row -->
<Row>
<MappingMetaKey scancode="42" id="META_SHIFT_LEFT" />
<MappingKey scancode="44" id="C3.1" />
<MappingKey scancode="45" id="C3.2" />
<MappingKey scancode="46" id="C3.3" />
<MappingKey scancode="47" id="C3.4" />
<MappingKey scancode="48" id="C3.5" />
<MappingKey scancode="49" id="C3.6" />
<MappingKey scancode="50" id="C3.7" />
<MappingKey scancode="214" id="C3.8" />
<MappingMetaKey scancode="103" id="META_DPAD_UP" />
<MappingMetaKey scancode="368" id="META_LANGUAGE" />
</Row>
<!-- Fourth row -->
<Row>
<MappingMetaKey scancode="56" id="META_ALT_LEFT" />
<MappingMetaKey scancode="216" id="META_SYMBOL" />
<MappingKey scancode="26" id="C4.1" />
<MappingKey scancode="51" id="C4.2" />
<MappingMetaKey scancode="57" id="META_SPACE" />
<MappingKey scancode="52" id="C4.4" />
<MappingMetaKey scancode="105" id="META_DPAD_LEFT" />
<MappingMetaKey scancode="108" id="META_DPAD_DOWN" />
<MappingMetaKey scancode="106" id="META_DPAD_RIGHT" />
</Row>
<!-- Back key -->
<Row>
<MappingMetaKey scancode="158" id="META_BACK" />
</Row>
</Keyboard>
chilakil said:
this is my configuraton, working fine for me, hard keys and blue keys (Achotjan rom)
HTML:
<?xml version="1.0" encoding="utf-8"?>
<Keyboard xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../scancode_mapping.xsd">
<!-- First row -->
<Row>
<MappingKey scancode="16" id="C1.1" />
<MappingKey scancode="17" id="C1.2" />
<MappingKey scancode="18" id="C1.3" />
<MappingKey scancode="19" id="C1.4" />
<MappingKey scancode="20" id="C1.5" />
<MappingKey scancode="21" id="C1.6" />
<MappingKey scancode="22" id="C1.7" />
<MappingKey scancode="23" id="C1.8" />
<MappingKey scancode="24" id="C1.9" />
<MappingKey scancode="25" id="C1.10" />
<MappingMetaKey scancode="14" id="META_DELETE" />
</Row>
<!-- Second row -->
<Row>
<MappingKey scancode="30" id="C2.1" />
<MappingKey scancode="31" id="C2.2" />
<MappingKey scancode="32" id="C2.3" />
<MappingKey scancode="33" id="C2.4" />
<MappingKey scancode="34" id="C2.5" />
<MappingKey scancode="35" id="C2.6" />
<MappingKey scancode="36" id="C2.7" />
<MappingKey scancode="37" id="C2.8" />
<MappingKey scancode="38" id="C2.9" />
<MappingKey scancode="40" id="C2.10" />
<MappingMetaKey scancode="28" id="META_ENTER" />
</Row>
<!-- Third row -->
<Row>
<MappingMetaKey scancode="42" id="META_SHIFT_LEFT" />
<MappingKey scancode="44" id="C3.1" />
<MappingKey scancode="45" id="C3.2" />
<MappingKey scancode="46" id="C3.3" />
<MappingKey scancode="47" id="C3.4" />
<MappingKey scancode="48" id="C3.5" />
<MappingKey scancode="49" id="C3.6" />
<MappingKey scancode="50" id="C3.7" />
<MappingKey scancode="214" id="C3.8" />
<MappingMetaKey scancode="103" id="META_DPAD_UP" />
<MappingMetaKey scancode="368" id="META_LANGUAGE" />
</Row>
<!-- Fourth row -->
<Row>
<MappingMetaKey scancode="56" id="META_ALT_LEFT" />
<MappingMetaKey scancode="216" id="META_SYMBOL" />
<MappingKey scancode="26" id="C4.1" />
<MappingKey scancode="51" id="C4.2" />
<MappingMetaKey scancode="57" id="META_SPACE" />
<MappingKey scancode="52" id="C4.4" />
<MappingMetaKey scancode="105" id="META_DPAD_LEFT" />
<MappingMetaKey scancode="108" id="META_DPAD_DOWN" />
<MappingMetaKey scancode="106" id="META_DPAD_RIGHT" />
</Row>
<!-- Back key -->
<Row>
<MappingMetaKey scancode="158" id="META_BACK" />
</Row>
</Keyboard>
Click to expand...
Click to collapse
nice in whitch of the files i can find it?
chilakil said:
this is my configuraton, working fine for me, hard keys and blue keys (Achotjan rom)
HTML:
...
<MappingMetaKey scancode="57" id="META_SPACE" />
...
Click to expand...
Click to collapse
I see you have only one MetaKey for space. Do you get a "space" pressing both edges of the key?
Doing a key-test in CWM returns two scancodes for right and left edge.
See post # 405 (at the buttom of the post i list all the scankeys) on this page: http://forum.xda-developers.com/showthread.php?t=1504637&page=41
allesand said:
nice in whitch of the files i can find it?
Click to expand...
Click to collapse
system/usr/keyboard-config/scancode_mapping,xml
---------- Post added at 10:37 AM ---------- Previous post was at 09:51 AM ----------
Emperor.dk said:
I see you have only one MetaKey for space. Do you get a "space" pressing both edges of the key?
Doing a key-test in CWM returns two scancodes for right and left edge.
See post # 405 (at the buttom of the post i list all the scankeys) on this page: http://forum.xda-developers.com/showthread.php?t=1504637&page=41
Click to expand...
Click to collapse
Extra key is not necessary because the navigation keys are functional (right to left), but you not will get extra space by pressing the navigation key to the right if that's what you mean.
Emperor.dk said:
I see you have only one MetaKey for space. Do you get a "space" pressing both edges of the key?
Doing a key-test in CWM returns two scancodes for right and left edge.
See post # 405 (at the buttom of the post i list all the scankeys) on this page: http://forum.xda-developers.com/showthread.php?t=1504637&page=41
Click to expand...
Click to collapse
ok so what do you mean it wit one MetaKey for space?
i don't understand it
allesand said:
ok so what do you mean it wit one MetaKey for space?
i don't understand it
Click to expand...
Click to collapse
the space-bar got two buttons. One under B and one under M.
they could actually be maped into two different functions like space for the one under B and TAB for the one under M. I always wondered why we didn't had a TAB key. i will try to make it for the learning experience.
but read in the thread i linked to get some idears to make XPERIA S keyboard work on our mimmi
Emperor.dk said:
the space-bar got two buttons. One under B and one under M.
they could actually be maped into two different functions like space for the one under B and TAB for the one under M. I always wondered why we didn't had a TAB key. i will try to make it for the learning experience.
but read in the thread i linked to get some idears to make XPERIA S keyboard work on our mimmi
Click to expand...
Click to collapse
http://forum.xda-developers.com/show...504637&page=41 you mean this thread
allesand said:
http://forum.xda-developers.com/show...504637&page=41 you mean this thread
Click to expand...
Click to collapse
Yes
http://forum.xda-developers.com/showthread.php?t=1504637&page=41
i tried follow
Emperor.dk said:
Yes
http://forum.xda-developers.com/showthread.php?t=1504637&page=41
Click to expand...
Click to collapse
im downloading the Rom of azopikolo or what his Name is copy the Keyboard files Change the configure files and make a new developer kit . so im testing it if im think this is great i will update the files to newer one . so i m hope this is the rigth way to make a keyfix for our phone so we should have an xperia s Keyboard with working keys or isn't it so ..?
so there are many Versions of it. Which Rom was the best Rom to can make the fix ? there are many Versions of Semc Debrand Engine | 3.0_Final | FreeXperia Project | 6.0.B.0.743 | RELEASED !
should work
have tested old Rom quickly i see that this has to work on our phone
im testing the old Rom of achioat or so
i have founding an bug that has some Versions of the android Systems of nAas on 3.05 and 4.0 that nAa has been fixed with the symkey
so im think we Need this files of the old Rom and has it to update it and then we Need a System like it is existing for xperia s or the System works to don't know but im thinnking this are good news
the existing Keyboard layout zip files or integratet in my fix should be work soon with xperia S HW
tested with minicm7rom of a_
allesand said:
the existing Keyboard layout zip files or integratet in my fix should be work soon with xperia S HW
tested with minicm7rom of a_
Click to expand...
Click to collapse
I told you I've been using for several months without problems :good: