yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] fotone:
Funziona !!!!!!!!!!!!

Ecco però la procedura esatta per la rom Italia per l' HD2 (alias LEO)

1) Installare InCall Lock ( http://xdaforums.com/showthread.php?t=556801V )

2) Andare in \Windows\Start Menu\Programmi e copiare il file Telefono.lnk in \Windows

3) Ora sempre in \windows rinominare il file Telefono.lnk (quello appena copiato) in Long_Send.lnk

4) Soft reset

-----------------------------------

It works !!!!!!!!!!!!

Here, however, the exact procedure for the Italy Rom.

1) Install Incall Lock

2) Go to \Windows\Start Menu\Programmi , search the file Telefono.lnk and copy in \Windows

3) Now still in \windows Telefono.lnk and rename the file (the one you just copied) in Long_Send.lnk

4) Soft reset

Edit

Questo cab fa tutto da solo. Quindi non dovete fare nessuna operazione di copia e rinomina.

http://www.mediafire.com/?zg5j2gzfzzz

Ciao
[Windows Mobile Apps and Games] Lord Spectre:
Could you please upload "Telefono.ink"?

Since I deleted it from "Start Menu"

-------------------------------------------

ITALIAN LANGUAGE:

Per favore mi uppate il file Telefono.ink? Poiche' l'ho cancellato dal menu start.

Grazie!!!!
[Windows Mobile Apps and Games] oainot:
Dear vangrieg,

i'v tested your InCall_Lock_exe_1.1.zip on my leo hd2 with normal screen lock.

- there is no caller id when call coming, just lock screen wallpaper is displayed.

- send key is still not locked.

- while answering the call, phone program UI looks unlike hd2 normal.

many thanks for your efforts.
[Windows Mobile Apps and Games] oainot:
vangrieg_InCall_Lock-LEO-ITA.CAB

it look strange. but anyway i've tried this:

and THIS WOKS on my hd2 with screen lock and without password. wired and bluetooth headsets are not tested.
[Windows Mobile Apps and Games] krenf28:
Vangrieg,

Nice work.

For HTC HD2, Will have a chance that you insert long_send.lnk into your first post cab, because last posts are for italian language ?

So your original cab will suite HD2 Leo.

Thanks again
[Windows Mobile Apps and Games] ruscik:
Can this app be extended to lock all hardware buttons all the time when power button is pressed?

Like any other older winmo device?
[Windows Mobile Apps and Games] Cret:
I've just installed this app on my HD2 after being shown a link (as I REALLY want to sort this problem of cutting calls off!) and it seems to only partly work so far.

The reject call button locks perfectly but the answer button does not lock and it can still be pressed. I also managed to press the home button and get to the Sense screen once (this is all while an unanswered call is ringing in), but when I tried this a second time it didn't do it, so I think it might be a bit buggy? Unless I did something wrong.

A definite step in the right direction though, at least I now have fewer buttons that can be pressed accidentally! Thanks!
[Windows Mobile Apps and Games] tino1708:
vangrieg, thank you very very much, i've been searching for this for a long time, even start a thread about this yesterday and found it today. it works perfectly and it's all i need!!!
[Windows Mobile Apps and Games] apeko:
would like to see the blue tooth version back in development.
[Windows Mobile Apps and Games] sean222:
Thank you also, been trying SO many complicated programs just to disable that one green phone button...finally found one, and it's SIMPLE and works!
[Windows Mobile Apps and Games] xdamanu100:
great on HD blackstone

Great!, was looking for a while for a light prog to kill those buttons when phone ringing, not rejecting or answering call by mistake when taking phone out of its pouch. thank you very much... easy cab install too bonus!
[Windows Mobile Apps and Games] fotone:
This version is for HD2 alias LEO (all languages):

http://www.mediafire.com/?zg5j2gzfzzz

Ciao
[Windows Mobile Apps and Games] Cret:
Awesome! Thanks mate.

Gonna try this one now and see if it's any better....
[Windows Mobile Apps and Games] Cret:
Works great! Thanks man. :)
[Windows Mobile Apps and Games] apeko:
Any work on the BT headset version?
[Windows Mobile Apps and Games] lightsoul:
great tool but i have error after i reboot the phone "an unexpected error has in Incall lock.exe." error detail " TypeLoadException".:(

my phone is HTC HD2 and Rom Ver 1.66.415.3 (76641) WWE.

i appreciate if you can help me on that, i just upgrade the phone today and everything is ok except this tool, in old version it was working fine and i cant live without it.

thanks for your great and smart tool
[Windows Mobile Apps and Games] vangrieg:
You need to have .Net CF 3.5 for the program to run.
[Windows Mobile Apps and Games] lightsoul:
excellent, thanks it work perfectly
[Windows Mobile Apps and Games] damac:
Excellent program mate, been looking for this for a while now.

It solves 50 % of my issue with the virtual keys,

unfortunately i'm one of those who needs to disable the keys totally when in call since while in jacket/jeans pocket the end/call button gets pressed which is very irritating..

IF possible you can make a second version which locks keys till the call ends?

OR (wishful thinking) share me the code I'll customize it for my personal needs ;) hehe

Thanks a lot !
[Windows Mobile Apps and Games] apeko:
I have the same problem. This developer started a version that locks the keys during a call if a headset was connected. However for some reason he stoped the development. I think this would work if he finishes it.
[Windows Mobile Apps and Games] vangrieg:
Sure I can share the code - it's so simple I don't even consider it mine. ;) It's basically copy/paste from MSDN and a free low-level hook example. Let's discuss how to share it via PM.

Well, the reason is very simple - I don't need to lock the buttons during the call, and don't have much time for this stuff. I'm not a developer, and it's my first program ever, so it's not something I can do in 15 minutes. :) I did it to solve my problem because nobody else seemed to be willing to do it.
[Windows Mobile Apps and Games] mikempower:
this applicatione was good with rom 1,48,now i installed 1.66 and at startup i had an error message and i can't use it...
[Windows Mobile Apps and Games] starbase64:
Hi,

you can use also other shortcut and rename to long_send,

then you have a application on the Long SendKey.

For example: Showcase.lnk renamed to long_send.lnk = Showcase on Long SendKey

InCall Lock works also with other shortcuts.

with friendly greet

starbase64
[Windows Mobile Apps and Games] vangrieg:
Please read the first post carefully. It says in bold red that you need .Net CF 3.5 installed.
[Windows Mobile Apps and Games] damac:
Hey Sent u the PM !

:) Well i'm a developer but too lazy to START a research on this, I can carry forward your research tho' ..hehe :) Thanks
[Windows Mobile Apps and Games] tsiftsism:
thanks for this great application. i' ve benn searching for such an application since s2u2 doesn't work properly on my omnia2, fot an unknown reason
[Windows Mobile Apps and Games] flopshot:
I thought this little app was the answer to my dreams but it's not fully working on my HTC Tilt2 (running WM6.5 that is a stripped-down version of the stock AT&T ROM including the stock AT&T dialer). When I get an incoming call, the Send/End buttons are indeed "locked" where they will not answer/hangup a call. However, both buttons will mute the ringer. Hence, you might never know that you got the call. If anyone else had this issue and figured it out, please post the tweak you made. Thanks.

FlopShot
[Windows Mobile Apps and Games] KingFelix:
I have been looking for something like this and I am glad I found it. It works perfect on my Omnia (WiMo 6.5). I like the Windows default lock screen and now I can disable the hardware buttons on incoming calls.

Thanks!!!
[Windows Mobile Apps and Games] woaloo:
Woks OK un HD2

I've tried the HD2 special version on my phone (stock french rom) and it works like a charm. All buttons are locked when receiving a call.

I didn't have to modify anything in start menu.

If a receive a call, none of the hardware button working, even on long press, so I answer with the slider, then, if I want to hang-up, I can use the red button.

Thank you very much with this utility.
[Windows Mobile Apps and Games] EgoMaximus:
When opening app, it does nothing, just higlights icon (HD2), when clicking again, it says: disabled.

Nothing about enabled.
[Windows Mobile Apps and Games] vangrieg:
Yes, this is by design, otherwise you'd get a popup every time you boot your device. Do you really want it? I could theoretically try to add code to distinguish between automatic and manual launches, but is it that important?
[Windows Mobile Apps and Games] kenkiller:
Is there anyway to get it to work without using the long_send function? I already have that key used by PLToggle, and it appears S2U2 is able to lock the keys fine without overriding the long_send function.

Just asking,... :D
[Windows Mobile Apps and Games] vangrieg:
If S2U2 locks keys without overriding long_send then it's obviously possible. The problem is, I have no clue how S2U2 does it.
[Windows Mobile Apps and Games] pckshd:
Maybe S2U2 replaces long_send while locked, and backs up the original long_send. After unlock it is restored to the original long_send file.
[Windows Mobile Apps and Games] *KenShiro*:
hey VanGrieg,

thanks for this great application and also thanks to fotone for the leo-version (HD2). It works very good and is so usefull ... a must-have-app :-)

greetings,

KenShiro
[Windows Mobile Apps and Games] BarksterNOR:
Does not work

I've tried this app on my HD2 and i cant get it to work. I have .NetCF 3.5 and i have copied phone.lnk, in my case telefon.lnk to the windows folder. My ROM are Norwegian and are an original ROM if that has any meaning.

Sorry for my bad English:cool:
[Windows Mobile Apps and Games] vangrieg:
Is it localized, i.e. is everything in English or Bokmål or Nynorsk? If it's localized the name of the file should be Telefon.lnk (or whatever the name of the phone application is used in Start menu).
[Windows Mobile Apps and Games] starbase64:
Hi,

i have a error message in InCall Lock:

InCall Lock.exe
SystemException
Failed acquiring of the hook.

bei InCall_Lock.HookKeys.Start()
bei InCall_Lock.Program.CheckIncoming()
bei InCall_Lock.Program.CallReceived_Changed(Object sender, ChangeEventArgs args)
bei Microsoft.WindowsMobile.Status.SystemState.RegistryState_ChangeOccured(Object sender, ChangeEventArgs args)
bei Microsoft.WindowsMobile.Status.RegistryState.notificationWindow_Changed(Object sender, ChangeEventArgs args)
bei Microsoft.WindowsMobile.Status.NotificationWindow.WndProc(Message& msg)
bei Microsoft.WindowsCE.Forms.MessageWindow._WndProc(Message& msg)
bei Microsoft.WindowsMobile.Utilities.Win32Utilities.SafeNativeMethods.DispatchMessage(WindowMessage& m)
bei Microsoft.WindowsMobile.Status.NotificationWindow.MessagePump()

with friendly greet

starbase64
[Windows Mobile Apps and Games] Nele12:
Great app

Works perfectly with my TouchPro. Great app.

Thanks!
[Windows Mobile Apps and Games] lurkist:
Thanks, registered just to get this (and LockDevice) and it works nicely.
[Windows Mobile Apps and Games] magic_de:
+1 from me
[Windows Mobile Apps and Games] kalhimeo:
Hello vangrieg,

Your cab is great, I really wonder why HTC made this phone canvas with "slide to answer" when at the same time you can still hit the hardware buttons, it sounds a bit stupid to me :p

Hopefully you are there with this solution !

Now the only negative effect is the headset buttons as already reported (ie. my BT car kit).

I would really appreciate if someone with some coding knowledge could fix this issue. I was looking myself with a combination of the "rhodium keyboard controller" and Mortscript but I could find a good way to detect if the phone is actually ringing or not :/

Cheers !
[Windows Mobile Apps and Games] vangrieg:
This is one of the reasons why I'm looking forward to WP7 despite all its limitations. Whey you get into the kind of crap even the best of OEMs do you start to really understand why they can't be trusted to do anything. They break all OS conventions and rules all the time in order to simplify their life and push out devices as soon as they can without caring for consequences. This dialer thing is one glaring example.

I know about this effect, and in fact I myself don't use this utility anymore. Unfortunately, there is no solution to this problem that I can come up with. According to the OS rules, when you press a key, the driver should send two pieces of information. One is the "virtual key code" - i.e. Send, End etc., another one is the so called "scancode", just a number that distinguishes concrete buttons. So when someone writes a program to process keypresses, he could get the intention via the keycode and the actual even via the scancode. Regretfully, starting with HD2 (or maybe even earlier), HTC decided to drop the scancode part, and there's no way to figure out programmatically whether the button was pressed on the device or the headset. Just no way at all unless you rewrite the driver. Now, I'm not a programmer even, I'm just a regular user who was so annoyed by the problem as to install Visual Studio and learn C# to try to solve it. Writing the driver would just be a colossal project for me, given my total lack of programming skills and a full-time job and a family life. And even if I did it, I could only test it on one device.

So sorry, but this utility is about as far as I can go. I can share the code if anyone wants to take it from here (which I did a couple of times on request), but I have to admit that I personally give up.
[Windows Mobile Apps and Games] kurjak:
Is there a way to lock keys when phone wakes up to recieve sms? The same problem with phone in pocket and it wakes up for a minute...
[Windows Mobile Apps and Games] vangrieg:
Not that I know of, unfortunately.
[Windows Mobile Apps and Games] sxhor:
Hey,

many thanks for the program it is really working fine! Unfortunately the Problem with the BT Headset is very important for me so i thought about a possible solution:

How about locking only the Hangup-Key during the call and not locking the Accept-Key? That would make it possible to take up the call from a BT Headset which would be a "slight" improvement from the current state. Of course you have the problem of accidentially taking calls when the phone is in your pocket, but for me :) i personally answer calls when the phone rings or at least have a short look at the screen.

Is ist hard to modify the code to only lock hangup-Key? Perhaps i could try it myself, unfortunately i have no visual studio installled...

Best Regards

Sxhor
[Windows Mobile Apps and Games] vangrieg:
I don't have VS installed anymore either. I'm not even using Windows Mobile at this time. Sorry about this, but this was a small hobby project I undertook to solve a problem with my handset, and I don't really have time to support it anymore, apart from giving whatever advice I can give. I'll upload the source though, so somebody can take it from there if they wish.

And yes, it's very easy to make the program lock only the End key: in program.cs, comment the following lines:

That should do it.
[Windows Mobile Apps and Games] romantashev:
What if you`re driving, or with gloves

What if you`re driving and want to reject a call?? I don`t want to play with my screen. Id like just to press the button without looking the phone.

And second thing: Is it really a big deal if you press accidently the hard buttons? Cant you call back that person? out of minutes?:)

An how clumsy are people to press buttons accidently? Never happened to me.

Even though i tried the application on my HD2, it works like a charm, but after couple a days of usage...I decide to uninstall it....imagine..your`re outside in nature...hands dirty...i dont want to touch my screen when someone calls.

2. If you wear gloves..you just pick a call pressing the hard buttons. otherwise i have to remove the gloves, slide my finger on the screen to pick up the line.

Think about it:)
[Windows Mobile Apps and Games] zalaros:
Have you ever used HTC HD or HTC HD Mini except HD2? Well the hard buttons below the screen in these devices are touch buttons and they can be pressed so easily by accident ;) That's why we need this program :D
[Windows Mobile Apps and Games] romantashev:
In this case your're right.

I have only used HD2 so far.:)
[Windows Mobile Apps and Games] mtstarzj:
Thanks for the application and you !It works nice on my acer s200 wm6.5 .

Can you provide the version no window of the "InCall Lock disabled " when I disable the Incall Lock . Thank very much.

If your program is better able to support the command line ,for example , "\Program Files\InCall Lock\InCall Lock.exe" -enable = Starting InCall Lock; "\Program Files\InCall Lock\InCall Lock.exe" -disable = KIlling the InCall Lock Process.

ha ha ,I`m Sorry ,My English is very poor . Thank you very much for your great software.
[Windows Mobile Apps and Games] applefruit:
Strange behaviour. I installed this on my HD2, as expected the send button will not be locked so I do the phone.lnk trick and voila! It works. All buttons are now locked.

I tried it with my stereo bluetooth Sony Ericsson HBH-I800(if that matters) headset expecting it to be locked too. But was surprised to discover that I can answer call from my headset! Then I tried again, no luck. Third time...can...can...cannot...can...cannot...cannot!

Now I'm really puzzled. It seems to work as and when it likes... Still better then nothing. At least now I can listen to music through my stereo bluetooth while cycling, working out and still have 50% chance of able to answer my calls with the phone buttons safely locked while in my waist pouch.... :D

By the way, I'm using the latest official ROM WWE_3.14.707.3......
[Windows Mobile Apps and Games] hanse100:
@vangrieg: thank you very much for this usefull programm. It works great on my HD2.

Could some please tell me, wich requistry entry I have to modify to disable the endkey permanently?
[Windows Mobile Apps and Games] calli:
Great little application. Works like a dream.

Thanks
[Windows Mobile Apps and Games] HarnicGreeras:
Thanks for your work! SUPERB!
[Windows Mobile Apps and Games] HoMeK20:
HD Mini

in HD mini (Photon) it locks only red button, green still active, how to repair this ?
[Windows Mobile Apps and Games] xdamanu100:
changed rom on my hd2 to android nand, Now have the same problem all over again.

Calls get dropped or picked up by mistake.

Anything like this for android.

Please help Googled last two days with no luck!
[Windows Mobile Apps and Games] edition-:
I was trying to find it too for HD mini, it works out that the HD2 fix works on mini too

Download it from here : http://www.mediafire.com/?zg5j2gzfzzz
[G1 Q&A, Help & Troubleshooting] ruin:
I have a bit of a problem.

I have dangerspl, latest radio & cyanogen recovery 1.4 +jf.

I've tried to install numerous roms on my G1:

Both modaco v2 hero roms from http://android.modaco.com/content/h...m-is-here-2-versions-based-on-the-new-update/

also, cyanogen's 4.0.4 from http://xdaforums.com/showthread.php?t=537204

and JAC;s xrom v1.4r3 from http://xdaforums.com/showthread.php?t=543621

The process I'm following is

alt+w wipe in recovery then,
adb shell mount /sdcard
push the zip over with adp push whatever.zip /sdcard/whatever.zip
and finally apply any zip from sd.

Installation gets to 'copying files' then I get some errors:

E: Can't chown/mod /system/xbin/busybox (No such file or directory)
E: Failure at line 41:: set_perm 0 0 04755 SYSTEM:xbin/busybox.
Installation aborted.

I've sniffed around and found /system is full via df -h.

Filesystem Size Used Available Use% Mounted on
tmpfs 47.8M 0 47.8M 0% /dev
/dev/block/mmcblk0p1 1.3G 105.3M 1.2G 8% /sdcard
/dev/block/mtdblock3 90.0M 90.0M 4.0K 100% /system
/dev/block/mtdblock4 30.0M 1.1M 28.9M 4% /cache

Is it safe to rm -rf /system or will it turn my g1 into a shiny black paperweight?

Thanks,

Ruint.

edit: seems /system/app is full of apk/odex files, is it safe to remove them?

edi2: looks like after wiping, /data is never remounted, even if I mount it, it looks like it's unused in the install procsess. :/
[G1 Q&A, Help & Troubleshooting] pistol4413:
repartition ur card to give urself more space. u can pull ur apps off of the partition. or write down what u have and reinstall all of them. also make sure u have the right spl, radio image, and if u haven't grab cyanogen's 1.4 recovery to help with the partitioning. of u can partition with ubuntu or paragon. if u need help check my sig and get back to me on gmail, or gtalk

EDIT: i see that u already have the radio, spl and recovery lol
[G1 Q&A, Help & Troubleshooting] dianotea:
same problem as yours.......

I can install some roms (CM 3.x, CM 4.x, zeroXd and even some hero ones), but while flashing others (JAC, MoDaCo, ecc.) I receive errors like the one you said and sometime line 88 copy_dir error.

Tried repairing the sdcard filesystem but it didn't help.....maybe it's a space related problem, as you suggested?

ps latest radio, recovery, and spl for me, too.......
[G1 Q&A, Help & Troubleshooting] nolimit78:
I've had these errors and usually what it means is the rom.zip file is corrupt. Are you guys downloading the zip files from your phone? If so try downloading from a computer and then putting it on your phone. Don't use ADB just use windows. This solved my problem.
[G1 Q&A, Help & Troubleshooting] dianotea:
I'm downloading from the pc. Tried re-downloading and a different microsd card but the situation hasn't improved much....... sigh :(
[G1 Q&A, Help & Troubleshooting] guiburi:
any one found a fix for this issue...i cant seem to load newer ROMS..i keep gettin this error...pls help
[G1 Q&A, Help & Troubleshooting] latestthing:
I'm fairly certain it has nothing to do with the SD. The /system folder is stored on the phone's memory, not on the SD card. I'm looking into modifying the install script to use the busybox that is in /system/bin

EDIT: oh and "rm -r"ing anything is scary. I'm pretty sure that the whole system folder gets overwritten by most ROM install scripts, but why delete it?

EDIT: So I tried removing the copy commands from the install script and then copying the stuff manually and this happened: I first "rm -r"ing the system folder which removes all but the lost+found, then I tried copying the system folder from the ROM manually using "cp -r * /system". Then I got a very tell-tale error: not enough room on device. doing a quick "df -h" shows that my system folder is only allowed 67.5M of space, which is less than what ruin posted as his. anyone know of a way to resize?
[G1 Q&A, Help & Troubleshooting] kishen80:
i can install any rom on my x1..i try to but the screen just hang... pLLLLLSSSSS help
[G1 Q&A, Help & Troubleshooting] Binary100100:
Where the hell is your /system/sd partition?

If your trying to install a Hero rom it needs an ext partition.

According to this:

Filesystem Size Used Available Use% Mounted on
tmpfs 47.8M 0 47.8M 0% /dev
/dev/block/mmcblk0p1 1.3G 105.3M 1.2G 8% /sdcard
/dev/block/mtdblock3 90.0M 90.0M 4.0K 100% /system
/dev/block/mtdblock4 30.0M 1.1M 28.9M 4% /cache

Where is mmcblk0p2 (system/sd) at?
[Hero, G2 Touch Android Development] felikz:
hi guys,

lol im not asking how to root the phone, im interested in having root rights in an application im developing. of course i just could call the command "su" and then the su requester will pop up, but what i want to use, is some kind of api or another android-command (independent from terminal-use), to get root permission for the application.. nothing find on google (bizarrely)

greetz
[XPERIA X1 Q&A, Help & Troubleshooting] xhotkey:
on which rom?
[XPERIA X1 Q&A, Help & Troubleshooting] nevermind:
Yes - R3A007