Keylayout - Huawei Ideos X5 U8800

I checked out some keylayouts now and they are never the same so I think it would be good if we fixed them
I've included some keylayouts from some roms (two are not for u8800 just there for reference). In it I've also added a folder with files that I edited a bit more, how does it look?
I still don't know if the touchkeys really wakes the phone up from sleep.
Here are some references
Keylayout
http://www.kandroid.org/online-pdk/guide/keymaps_keyboard_input.html
Keyevent
http://developer.android.com/reference/android/view/KeyEvent.html
Btw scancodes is there any app to test them? I know there is in CWM but is that really all because then we can rid of alot of the entires in the layout but how to check scancodes for dubbletap and such?

Related

Changing icon color substitution value for connection icons?

Appologies if this has been covered before. I searched a few ways but found nothing.
I am trying to change the color of the battery, sound, sync, etc icons. I looked through all the materials for themes and windows internal colors and was unable to find a registry key for them. I tried tweaking all the values for unknown keys and still had no effect. I located the icons in the windows directory and they appear to be using the classic two color substitution game for .bmp files. I have been trying to determine how windows mobile assigns the color for the icons but have been unable to locate it.
I was curious if anyone knew or had come across how windows deals with this, if it was some obscure registry key or came from somewhere in the rom. I had located online allusions to the idea that oems could mess with the icons but unfortunately no details to explain how.
If you can help, I would be most thankful.
Regards,
Rudy
They're bitmaps embedded in some of the rom dlls. I posted about it once, but couldn't find my own post on the issue . I think I know a way to change them now, but can't remember which dll they were in. I think it was shell*dll or something... if and when and remember, I'll try knocking together a solution.
V
Interesting, I'll look around in the dlls and see what I can find. I found what seemed to be the bitmaps used in the bar lying loose in the \Windows directory. I'll try editing them to see if it changes their appearance in the top row.
I am most interested in changing their color. I cannot seem to find anywhere where they they derrive the values that the icons substitute colors for.
Thanks for your response.
V
the file was shellres32.dll
Here is the post where we were talking about this i still never managed to do it so if you have figured out a way would be much appreicated.
http://forum.xda-developers.com/viewtopic.php?t=44102&highlight=color+colour+signal+strenght
Scott

Extra Favorite Icons! [Programs] [Manila/Sense]

Hi everyone, I've recently figured out how to get more of the "+" icons [You know, the ones in Manila/Sense in the Programs menu]. I am working on making a .CAB with the registry changes, however I just wanted to make sure my time is not wasted - I checked the forums decently, not extensively, so please could some of the veteran members please tell me if this has already been done and my workk would be useless.
I'll make a brief tutorial or How-To if this has not been discussed before, and what you need to get more "Favorite" tabs. [I'm at 60 from 30]
Just let me know! Thanks!
~~Bradley
Yes, one request is enough
Before I give you thee code, please note that if you don't wait foor my cab [assuming I have any clue what I'm doing] this will be time consuming. I'm working right now, so I can only give you brief hhow-to for now, but I will update it to a full version later.
Go into your favorite registry editor [I suggest PHM Reg Edit]
The registry file is
[HKLM = HKEY_LOCAL_MACHINE]
HKLM ---> SOFTWARE ---> HTC ---> Manila ---> ---> Program Launcher
Or the direct place is just
HKLM\SOFTWARE\HTC\Manila\ProgramLauncher
Once there, you should have keys number 0-29 [30 total]
Just make new keys [I suggest starting at 30 and working your way up] and once you make those, you need to copy/paste the string values
"DispName"
and the value
"Path"
You need to paste these into EVERY new key you make. Also, while you're editing this, go into the key value of ProgramLauncher and change the "totalItemCount" [Only Dword i nthe list, down at the bottom] to something higher than 30, whatever total number of icons you're going to make.
Once you have copy/pasted all of the appropriate values to your new keys, you must be advised that pressing the "+" button on your new icons will NOT work, you have to do them manually. This is where I suggest you download mymobiler [http://www.mymobiler.com/] it will make the addition of programs much faster.
Anyway, what you need to do is edit the paths to the programs you want using this code in the value box.
\Windows\Start Menu\Programs\.lnk
Whatever program you want there [Say Pocket Uno] you just put between the last \ and .lnk. It will look like this
\Windows\Start Menu\Programs\Pocket Uno.lnk [You have to do the spaces - Exactly how it appears on your programs list]
Now, that will link it to your Pocket Uno Game, but it won't let you play it till you add a display name. I changed mine from Pocket Uno to just Uno for the heck of it. Anywho, it won't link it untill you have SOME display name.
I'm sorry I didn't explain it better, but I must be on my way for now, will do a full walkthrough later.
I would like to see this. thanks
There you go, I apologize for the lack of coherency.. Will proof what I've written and overall rewrite it later.. I'll answer any questions y'all may have. Just ask!
~~Bradley
this sounds just like my extended startmenu with 48 icons and 4 in a row (Touch X program tab 4 row 48 slots.cab)
for manila 2.1 with weather (sense 2.1) found in this thread
Please correct me if im wrong! and the + will work to add apps.
http://forum.xda-developers.com/showpost.php?p=4802028&postcount=2
Now, you correct me if I'm wrong!
Yours is an alternative to manila, with the exception of Touch X Restore Sense 1.0 manila cab, which I'm quite honestly not sure what it does.. at all, it just says you "can now customize the **** out of it!"
What my registry edits do is simply add to the number of favorites already there..
Now, you answer Because I have no idea what your item does!
smaberg is correct.
If you want to just add the programs with the + without having to deal with creating shortcuts, and doing all the registry stuff, just install the first cab (Extended Startmenu) from the link posted - it's great!
Edit: You can then also apply a reg fix for 64 icons as per the link below (sorry, not sure how to display the link in a shortened form)
http://forum.xda-developers.com/showthread.php?t=534596&page=2
If thats true then, good work I just got my first winmo phone about 2 1/2 weeks ago! So good work, this can just serve for someone who wants to do it the old fashion way, I try to do reg edits instead of cabs when I can.. just for the heck of it
Thanks guys!

[Q] Editing SGS2 Keypad Buttons

**UPDATE**
I have figured it out and the relevant APK for anyone else interested is Contacts.apk - This deals with all Phone dialer related editions/landscapped too.
Hey so I have been looking around trying to edit the keypad buttons. From what I have been able to search around all the files I need SHOULD be in Phone.apk, but I can't seem to find the background for the dialer buttons. Attached is an image of the keypad I am referring to.
The images I am trying to change are:
- the background to the dialing buttons: 1,2,3, etc
- the green & yellow: dial/message icons.
Any help as to what are the right files would be much appreciated!
Im sorry for the bump and apologize if this is not allowed

Any tester for virtual keyboard for HD2 ubuntu

hi,
developers had done good job poting ubuntu to htc leo thanks all.
i installed ubuntu on my htc without any and work great but onn such small display i have not found any suitable keyboard so i decide to write a keyboard myself.
keyboard is almost done but my leo was broken last week so i cannot test it.
if sombody can test and give back feedback i can send him and work togather.
asghi said:
hi,
developers had done good job poting ubuntu to htc leo thanks all.
i installed ubuntu on my htc without any and work great but onn such small display i have not found any suitable keyboard so i decide to write a keyboard myself.
keyboard is almost done but my leo was broken last week so i cannot test it.
if sombody can test and give back feedback i can send him and work togather.
Click to expand...
Click to collapse
Sorry to hear about your HD2, have PMed you
file uploaded
if anybody need file can be download from
world-call-trade.com/keyboard
1 download to your home folder of where you want.
2 extrect with command tar -zxf TouchKeyBoard.tar.gz
it will create a folder name TouchKeyBoard, in the folder TouchKeyBoard should be 2 files TouchKeyBoard binary and TouchKeyBoard.png.
3 run from same folder ./TouchKeyBoard
it is written in c and gtk you should not have any problem running on gnome desktop if you have any trouble please let me know i will try to resolv.
there in no F key and some symbols are also missing i can make it on if we need.
my goal is creating a good keyboard as android keybord and after then a functional call and sms system over ubuntu desktop.
ps i am new here so cannot post externel links add http &www befor link
I am using ubuntu 10.10 from http://forum.xda-developers.com/showthread.php?t=1025499 running from sd CM9 android
keys are as follows
qwertyuiop returns 789-=[];' and one other char like ' but I can't it.
asdfghjkl returns abcdefghi
zxcvbnm returns opqrstu
1234567890 returns nothing except 8,9 and 0 returns 0,1 and 2 respectively
Shf button just adds a lowercase m before the above letters.
This could be due to VNC or specific ubuntu build.
will try using Ubuntu 0.3a and mouse.
The key windows are a bit small and should me made bigger within the keyboard window, because the main problem with any onscreen keyboard is the sensitivity of the touchscreen.
A maximise/minimise toggle button would be handy because the actual buttons are tiny.
Also a text window at the top of the keyboard showing the last line of text would be useful (like old typewriter software), then you could maximise the keyboard window to fill the screen without having to check your spelling in the document.
Best of luck with your projects
thanks for testing,
i will try to make change as you suggest and up load as soon as finish.
i used us_en char set may you are using dirfrent i will check also that.
please do a faver if you can some pics from v0.3.
thanks againg.
Have attached screenshot.
All buttons seem to work as they should using 0.3, so must have been different default keyboard in 10.10.
Note the keyboard was "always on top" and the tray buttons were grey
hi,
sorry for late responce i was rewriting everything from scratch.
now it should work on any desktop running xserver and gtk.
i have ported linux to my poor samsung 551 for testing in vnc.
samsung have very low screen resolution 400x240 but keyboard work as expected.
changes:
1. fonts are now more bigger and bold.
2. added configuration file buttons and size are configurable.
3. now there are 2 versions 1 for arm and another for x86.
please let me where i can add min/max button.
out of topic:
is there any port for samsung 551 or samsung 5510?
if no i have ported i will open a new thread if someone need.
Thank you for your work
Keyboard is a big threat in Linux :/
hi,
please test it if you can.
let me know if you need any help.
Hi ashgi, looking good so far.
It still needs a maximise/minimise button. I tried full-screen mode and couldn't get out. There seems to be no Function buttons either, so that I could do ALT F3.
Menu is good idea though
hi Robbie P,
thanks for testing again.
as i asked please give me advice where i can put a min/max button.
last row ramain same on all three pages so we should put a button on last row but there is no space for new button please sombody let me know witch button from last row should be put on another page (a button that less in use) i will try to add another page for missing keys.
but we should finlize first page.
hi,
uploaded 2 new files.
added min/max button.
added F keys please check in Num fkeys.
added missing symbols.
now we have more space on fkey page please let me know if you want add some more keys.
please test new version.
Looks good, m/M button in good position.
The "<" button returns a ">"
There seems to be a small delay between keypress and the colour changing on the button.
Have you thought further on having a toggled text box on the top of the keyboard window showing the last line of typed text. I think this would be a good idea, you could then maximise the keyboard without having to see what you have just typed, and no need to re-arrange windows for best view on such a small screen.
hi,
i am on debian on debian "<" ">" working as expected.
now tested on ubuntu use difrent keysum uploded new file for ubuntu please check if it work.
i will try to add oneline text editor but with toggle key because everybody may not use this feture.
hi,
uploaded new version 0.12
added toggle text box box.
you can access OBD (On Board Display) from Num fkey OBD.
removed ubuntu version added option "dist" in configuration file.
OBD have MAX. 50 words after 50 it will clear display and start from beginning
it have no effect on actual program where you are writing.
Enter key also clear display.
WARNING: OBD display as you type in clear text even PASSWORDS so use on you own risk.
i am not RESPONSIBLE if your girlfriend read you PASSWORDS
Please test and let me know how it works.
Download TouchKeyBoard from http://www.world-call-trade.com/keyboard/
Will it support russian localization?
hi a4necromant,
i am currently working on localization if you can provide translation i will send you header file.
option for switching lang is added to configuration file.
I like the obd
I was thinking text would start on the Right hand side and as letters are typed the words would scroll to the left until they disappeared or reached 50 letters or a return key was pressed. But that might be tricky to code. And others may not like or use it. Possibly changeable font size in obd?Or proportional to window size?
<> is fine now.
Well done again

change the sensitivity of your touch screen

Hello all,
I have seen several reports in internet about screen sensitivity issue regarding s7 & s7e varients. some says that it is too sensitive, while some say its less.
In my case,afterinstalling a .4 mm 9H glass screen protector, my screen sensitivity became awfully down,it wont recognise my targus touch input pen anymore,unless i press the rubber tip really hard, also several misses of finger touch input too.
being so, i was thinking of removing the screen gaurd itself, but from my experience, i know that this can be adjusted by editing system files. again, i forgot ( since i dont play with roms much now a days) it, and last night i stuck upon my collection of android tweaks.. and find something interesting.
so i want to share it with you.
You need root access to do this tweak, as we are going to edit build.prop and touch screen calibration file.
1 ) go to system/build.prop , open it with some text editor, add these lines to it ( i prefer xplore filemanager, becoz it is cool and automatically set previous permissions)
ro.max.fling_velocity=16000
touch.pressure.scale=0.00000001
ro.min.fling_velocity=8500
windowsmgr.max_events_per_sec=290
ro.min_pointer_dur=9
2) save it back and then go to system/usr/idc and find the file named " ft5x06_ts.idc ". its the touch screen calibration file. open it as text ( some filemanagers require to rename it as .txt extension, if its so, rename and open it. then edit this line as
touch.pressure.scale=0.00000001
3) save and rename it back to " ft5x06_ts.idc " and set back permissions.
reboot your phone.. now ur phone have much more sensitive screen.
NB:- the normal touch.pressure.value is 0.015 for s7. ( as found in ft5x06_ts.idc file). we have changed it to a much smaller value of 0.00000001 , to make it more sensitive.
you can decrease that value further to make it more sensitive or you can increase that value to 0.100 or so to decrease sensitivity ( remember to add same value on build.prop and .idc file , to avoid conflicts.)
thanks all.. hope this will sort out your touch screen problem.
I don't have that file. I'm running a stock S7, rooted, original ROM in all ways just like most everyone else. Mine is brands new and I've not made any other mods yet. Can you verify the filename and folder is correct?
Are there any other changes you may have made beforehand, that may have created that file? Did you try any of the touch screen calibration apps that I've seen online by chance?
I can try creating the file, what else is in its contents? Can you attach it here, or copy its contents to the screen here if short enough?
Great information, you're the only one writing about this yet. I appreciate it because I was looking for the same thing and I knew it was possible. I can confirm I've read similar on the Android developers website. There's tons of settings related to the touchscreen listed there, and the sensitivity setting you reference seems to be the most important.
I've seen other people reference adding that setting into build..prop. Have you heard that, or tried that by chance? Any feedback? On my S5, it didn't seem to make any difference regardless of what I set it to in the build.prop settings. Perhaps it's the same on the S7. Surprised I don't have the same file that you reference though...? Mine is Verizon. Yours?
---------- Post added at 09:54 PM ---------- Previous post was at 09:17 PM ----------
showlyshah said:
Hello all,
I have seen several reports in internet about screen sensitivity issue regarding s7 & s7e varients. some says that it is too sensitive, while some say its less.
In my case,afterinstalling a .4 mm 9H glass screen protector, my screen sensitivity became awfully down,it wont recognise my targus touch input pen anymore,unless i press the rubber tip really hard, also several misses of finger touch input too.
being so, i was thinking of removing the screen gaurd itself, but from my experience, i know that this can be adjusted by editing system files. again, i forgot ( since i dont play with roms much now a days) it, and last night i stuck upon my collection of android tweaks.. and find something interesting.
so i want to share it with you.
You need root access to do this tweak, as we are going to edit build.prop and touch screen calibration file.
1 ) go to system/build.prop , open it with some text editor, add these lines to it ( i prefer xplore filemanager, becoz it is cool and automatically set previous permissions)
ro.max.fling_velocity=16000
touch.pressure.scale=0.00000001
ro.min.fling_velocity=8500
windowsmgr.max_events_per_sec=290
ro.min_pointer_dur=9
2) save it back and then go to system/usr/idc and find the file named " ft5x06_ts.idc ". its the touch screen calibration file. open it as text ( some filemanagers require to rename it as .txt extension, if its so, rename and open it. then edit this line as
touch.pressure.scale=0.00000001
3) save and rename it back to " ft5x06_ts.idc " and set back permissions.
reboot your phone.. now ur phone have much more sensitive screen.
NB:- the normal touch.pressure.value is 0.015 for s7. ( as found in ft5x06_ts.idc file). we have changed it to a much smaller value of 0.00000001 , to make it more sensitive.
you can decrease that value further to make it more sensitive or you can increase that value to 0.100 or so to decrease sensitivity ( remember to add same value on build.prop and .idc file , to avoid conflicts.)
thanks all.. hope this will sort out your touch screen problem.
Click to expand...
Click to collapse
UPDATE -After digging around a bit, I found two idc files related to touchscreen settings in that same folder. They are named Synaptics_HID_TouchPad.idc and Synaptics_RMI4_TouchPad_Sensor.idc. Their contents reference "Input Device Configuration File for the Atmel Maxtouch touch screen" and "Atmel Maxtouch touch screen" respectively. All the standard touch screen settings are present, but specific to touch.pressure.scale, both are set to 0.0125. Again, slightly different, but this is a Verizon variant, I'm not sure what year it is. I know each touchscreen requires its own set of configuration settings, and it's not expected they would all calibrate and matchup to the same settings. It also wouldn't be the first time Samsung use different pieces of hardware in the same device, let alone the carriers might provide their own input and/or make those choices autonomously as well. What does yours list as the make and model of the touchscreen device? Do you have just the one file referencing touch screen, or are there multiple files like mine?
I'm not sure what specific touchscreen hardware is installed in my device. I know I could go check, but I'm feeling lazy and think I'll just modify them both and see what happens.
I'll provide updates as I learn more...
ya.. thats it.. every android device shd contain some sensor specific file for every sensor used. or lets say some configuration file.. and touch screen too..
btw.. that touch pressure scale is what u need to change.
why the hell does Samsung doesnt set it in 0.00001 in first place -_-
Has anyone else tried/working this workaround?
Not rooted here but will root if it works ^^
Velogr1992 said:
why the hell does Samsung doesnt set it in 0.00001 in first place -_-
Has anyone else tried/working this workaround?
Not rooted here but will root if it works ^^
Click to expand...
Click to collapse
It wont work ! That guy iz suck !
How much can we maximum decrease touch pressure scale value

Categories

Resources