IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Modifying the Right Desktop Softkey, Change 'menu' to a java app / link
nkls
post 2007-05-09 20:08
Post #1


Se-nse-ible
Group Icon

Group: Moderators
Posts: 725
Joined: 2006-09-30
From: Sweden
Member No.: 6,208
Mobile: w810i



It's now possible to change the right desktop softkey to ANY application in the phone!
(only if your phone supports patching)

You will still need to use the RIGHT_SOFTKEY_HOOK, but It can now be done much easier, with patching.


How to easily apply a hook without FAR manager or customize_upgrade.xml
  1. Apply the patches move_custmenu_to_card.vkp and move_custom_to_card_w810_r4ea031.vkp.
    Don't forget to copy the custom folder before you apply the move_custom_to_card_w810_r4ea031.vkp patch.
  2. Apply the change_right_softkey_patch_multi_w810_r4ea031.vkp patch.
    Don't forget to uncomment the line you want to use.
  3. RIGHT_SOFTKEY_HOOK
    1. If you want to have your own label on the softkey, extract the RIGHT_SOFTKEY_HOOK.itm (as .tar), open the RIGHT_SOFTKEY_HOOK.xml
      and change the label to the one you want. Compile the files to a RIGHT_SOFTKEY_HOOK.itm (as .tar archive), and put it in your custom folder.
    2. Create a folder called "RIGHT_SOFTKEY_HOOK" in your custmenu folder. Put all of the files from the RIGHT_SOFTKEY_HOOK.itm* in this folder.
    3. If you have a file called cust_menu_done_unpacking.dat in your custmenu folder, delete it.
  4. Restart your phone.
  5. Done!
*rename it to RIGHT_SOFTKEY_HOOK.tar, and open with WinRar

Note: You doesn't actually need an RIGHT_SOFTKEY_HOOK.itm for this to work. But sometimes when you restart your phone (like when you use a customize_upgrade.xml), the phone will extract all the files from the RIGHT_SOFTKEY_HOOK.itm to the .../custom/RIGHT_SOFTKEY_HOOK folder.


Doing it without patches
Just follow the steps above, but use the original custmenu and custom folders. (tpa/preset/system/custmenu and tpa/preset/custom)
If you use the patch that comes with the change_right_softkey_patch_multi_w810_r4ea031.vkp patch, it will open your phonebook.
(Alternatively you can just put the RIGHT_SOFTKEY_HOOK.itm and an empty customize_upgrade.xml in the custom folder, but it seems like that this doesn't work with w800/k750.)
If you want a fast way to upload it, please read this topic: How to Modify the Activity Menu


Note: This method can of course be used with any hook!



The change_right_softkey_patch_multi_w810_r4ea031.vkp patch
Currently available options (uncomment the line you want to use in the patch):
  • Turn BlueTooth On/Off (MenuItem_Bt_Activation)
  • Radio (FMRadio)
  • Entertainment
  • Games
  • Flashlight menu (Menu_FlashLight)
  • Walkman (MediaPlayer)
  • Messaging
  • FileManager
  • Organizer
  • New Message (Msg_WriteNew)
  • Applications
  • Camera
  • Bluetooth (BlueTooth_Settings)
If you want it to point somewhere else, please request it in the comments!



Relink it to a Java app / wap link
More info on how to link a hook to a java program or wap link can be found here: How to Modify the Activity Menu



Rename the button text
If you want to have your own label on the softkey, extract the RIGHT_SOFTKEY_HOOK.itm (as .tar), open the RIGHT_SOFTKEY_HOOK.xml and change the label to the one you want.

It should look something like this like this:
QUOTE
<?xml version="1.0" encoding="UTF-8"?>
<MenuItem version="1.0">
<item_text>
<TEXT default_lang="en" str="Button text" />
</item_text>
<item_help />
<item_icon />
<item_action>
<ACTION type="Internal" str="OPMenu4" />*
</item_action>
</MenuItem>

Write your button text, and save the file.
Compile all the files** to a RIGHT_SOFTKEY_HOOK.itm (as .tar archive), and put it in your custom folder.

*This string does not exist in the Java / wap hooks.
**app_data.dcm, mnu_data.dcm, RIGHT_SOFTKEY_HOOK.xml, text_xx.dcm

Note: The button text is limited to a pretty small space. On my w810 (with FontE_16B)
the text "Opera Mini" is too big, but "OperaMini" works fine.




Replace the button text with an image
The text ("menu") can also be replaced with an image. To do this, upload a .png file, renamed to SK_IMAGE to your custom folder. (no file extension!)
Scroll down to aSwede's post a bit down for an example! thumbsup.gif

On some newer phones this method doesn't work thou. (K800, K610, K608,..) Instead you have to use a hook with a "built in" image. The attached K610_3_Sweden.itm has one, and it should be pretty easy to modify it if you take a closer look at it.



What is not possible:
To do the same thing with the left softkey


The attached files:
  • Three java hooks, gmail, opera mini and mobyexplorer.
  • RIGHT_SOFTKEY_HOOK_K610_3_Sweden.itm (org hook from TopSony, K610 3 Sweden)
  • move_custmenu_and_custom_to_card_w810_r4ea031.rar (two patches + one merged)
  • change_right_softkey_patch_multi_w810_r4ea031.rar (the patch + four premade RIGHT_SOFTKEY_HOOK.itm with the button texts: BlueTooth, Camera, Contacts, Games)
enjoy! laugh.gif

This post has been edited by nkls: 2007-08-19 20:31
Attached File(s)
Attached File  move_custmenu_and_custom_to_card_w810_r4ea031.rar ( 1.27K ) Number of downloads: 420
Attached File  RIGHT_SOFTKEY_HOOK_moby2.rar ( 408bytes ) Number of downloads: 589
Attached File  RIGHT_SOFTKEY_HOOK_gmail.rar ( 398bytes ) Number of downloads: 298
Attached File  RIGHT_SOFTKEY_HOOK_opera.rar ( 397bytes ) Number of downloads: 685
Attached File  RIGHT_SOFTKEY_HOOK_K610_3_Sweden.rar ( 2.25K ) Number of downloads: 393
Attached File  change_right_softkey_patch_multi_w810_r4ea031.rar ( 2.27K ) Number of downloads: 951
 


--------------------
Go to the top of the page
 
+Quote Post
Da_G
post 2007-05-09 21:40
Post #2


No Se-nse
**

Group: Members
Posts: 72
Joined: 2007-01-30
Member No.: 15,917



I posted this on howardforums a couple of months ago but it disappeared into oblivion because no one ever replied..

It worked on my w810, as far as I can recall. You can also use an image in place of the text!
Go to the top of the page
 
+Quote Post
wcis
post 2007-05-09 22:04
Post #3


Non-se-nse
***

Group: Members
Posts: 112
Joined: 2007-02-16
Member No.: 20,508



Tested the opera mini one on my k750, no luck, also tried the activity menu hook with no luck. I'll leave them in for a while as the SE hooks took a while to disappear when i deleted those.
I really don't think you can do this stuff to a k750 without a master reset.

This post has been edited by wcis: 2007-05-09 22:36
Go to the top of the page
 
+Quote Post
pakraider
post 2007-05-09 23:37
Post #4


Makes Se-nse
****

Group: Members
Posts: 421
Joined: 2007-01-26
Member No.: 14,805



QUOTE (Da_G @ 2007-05-09 16:32) *
I posted this on howardforums a couple of months ago but it disappeared into oblivion because no one ever replied..

It worked on my w810, as far as I can recall. You can also use an image in place of the text!


i replied there, remember? smile.gif

so if this goes into /tpa/preset/custom.... wouldnt we need to do a master reset? and how would we go about setting the right softkey for the Camera? it would need to be an internal link and not an action.. but i'm not quite sure how to go about it.


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




Go to the top of the page
 
+Quote Post
luchos297
post 2007-05-10 02:15
Post #5


Non-se-nse
***

Group: Members
Posts: 108
Joined: 2007-03-14
From: Argentina
Member No.: 26,783
Mobile: Modded W810i black



Mmmm, it works on W300?...:mellow:
Go to the top of the page
 
+Quote Post
qwerty12
post 2007-05-10 06:32
Post #6


Se-nse's No1 Baller
Group Icon

Group: VIP
Posts: 4,096
Joined: 2006-07-04
Member No.: 3,835



Thanks smile.gif.

Go to /tpa/preset/system/custmenu and through some file operations you can force the phone to read the new files again without master reset wink.gif.

@pakraider
Nope, I couldnt get the camera hook to work sad.gif

This post has been edited by qwerty12: 2007-05-10 06:41


--------------------
Go to the top of the page
 
+Quote Post
aSwede
post 2007-05-10 11:46
Post #7


Padawan
*

Group: Members
Posts: 24
Joined: 2007-01-14
Member No.: 11,256



Thanks! thumbsup.gif
To replace the text with an image, upload a .png to /tpa/preset/custom/SK_IMAGE
(SK_IMAGE is the filename)
Attached File  RightSoftkeyOperaImage.rar ( 3.39K ) Number of downloads: 709


--------------------
Go to the top of the page
 
+Quote Post
pakraider
post 2007-05-10 13:13
Post #8


Makes Se-nse
****

Group: Members
Posts: 421
Joined: 2007-01-26
Member No.: 14,805



yeah qwerty, i tried different things and couldnt get the camera hook to play nicely either... no fun... maybe im just too lazy but i'd rather have one button to press than having to press the shutter down for 2-3 secs to launch the camera... lol..


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




Go to the top of the page
 
+Quote Post
qwerty12
post 2007-05-10 13:55
Post #9


Se-nse's No1 Baller
Group Icon

Group: VIP
Posts: 4,096
Joined: 2006-07-04
Member No.: 3,835



Lol, I got to agree with you there. With my K750, all I had to do was flick the camera cover down laugh.gif


--------------------
Go to the top of the page
 
+Quote Post
nkls
post 2007-05-10 16:59
Post #10


Se-nse-ible
Group Icon

Group: Moderators
Posts: 725
Joined: 2006-09-30
From: Sweden
Member No.: 6,208
Mobile: w810i



QUOTE (Da_G @ 2007-05-09 23:32) *
I posted this on howardforums a couple of months ago but it disappeared into oblivion because no one ever replied..

It worked on my w810, as far as I can recall. You can also use an image in place of the text!

You should have posted it here also! tongue.gif

QUOTE (pakraider @ 2007-05-10 01:29) *
i replied there, remember? smile.gif

so if this goes into /tpa/preset/custom.... wouldnt we need to do a master reset? and how would we go about setting the right softkey for the Camera? it would need to be an internal link and not an action.. but i'm not quite sure how to go about it.

Master reset is not needed. And I have no idea if it's possible to set it to the camera, but I don't think so. sad.gif

QUOTE (aSwede @ 2007-05-10 13:38) *
Thanks! thumbsup.gif
To replace the text with an image, upload a .png to /tpa/preset/custom/SK_IMAGE
(SK_IMAGE is the filename)
Attached File  RightSoftkeyOperaImage.rar ( 3.39K ) Number of downloads: 709

Thanks! thumbsup.gif Didn't know that.


--------------------
Go to the top of the page
 
+Quote Post
vital1c
post 2007-05-12 16:43
Post #11


n00b


Group: Members
Posts: 7
Joined: 2007-05-01
From: Russia
Member No.: 38,483
Mobile: W810i



How can I replace right soft key shortcut to FileManager ?
Go to the top of the page
 
+Quote Post
nkls
post 2007-05-12 16:47
Post #12


Se-nse-ible
Group Icon

Group: Moderators
Posts: 725
Joined: 2006-09-30
From: Sweden
Member No.: 6,208
Mobile: w810i



@vital1c
AFAIK it's not possible sad.gif


--------------------
Go to the top of the page
 
+Quote Post
fezzo
post 2007-05-13 06:28
Post #13


No Se-nse
**

Group: Members
Posts: 89
Joined: 2007-02-21
Member No.: 21,656



@nkls
how can i change the right softkey for another java apps? like LyricShow by djk750i. i've tried it but not work.
help me please smile.gif

This post has been edited by fezzo: 2007-05-13 06:32
Go to the top of the page
 
+Quote Post
ReDDeviL
post 2007-05-13 07:48
Post #14


Padawan
*

Group: Members
Posts: 39
Joined: 2007-04-21
From: Romania
Member No.: 36,073
Mobile: TuNnEd W810i



Version 1.2 of the Opera Right Softkey laugh.gif

Attached File  SK_IMAGE.png ( 4.88K ) Number of downloads: 102


Download:
Attached File  SK_IMAGE.rar ( 4.95K ) Number of downloads: 317


This post has been edited by ReDDeviL: 2007-05-13 07:53
Go to the top of the page
 
+Quote Post
fezzo
post 2007-05-13 08:41
Post #15


No Se-nse
**

Group: Members
Posts: 89
Joined: 2007-02-21
Member No.: 21,656



problem solved thumbsup.gif
Go to the top of the page
 
+Quote Post
eXoR
post 2007-05-13 11:15
Post #16


Makes Se-nse
****

Group: Members
Posts: 420
Joined: 2007-01-04
From: Austria
Member No.: 10,124
Mobile: W960i



for me, the softkey image wont work (K800i)


--------------------
SE W960i
Go to the top of the page
 
+Quote Post
nkls
post 2007-05-13 15:03
Post #17


Se-nse-ible
Group Icon

Group: Moderators
Posts: 725
Joined: 2006-09-30
From: Sweden
Member No.: 6,208
Mobile: w810i



@eXoR
Try to use the k610 hook from the first post. It has a "built in" image. cool.gif


--------------------
Go to the top of the page
 
+Quote Post
navinng
post 2007-05-13 16:20
Post #18


Non-se-nse
***

Group: Members
Posts: 219
Joined: 2007-03-09
From: India
Member No.: 25,649
Mobile: W595



hey can it b used as a shortcut for inbox or sumthing....
Go to the top of the page
 
+Quote Post
nkls
post 2007-05-13 18:48
Post #19


Se-nse-ible
Group Icon

Group: Moderators
Posts: 725
Joined: 2006-09-30
From: Sweden
Member No.: 6,208
Mobile: w810i



no, it can't sad.gif


--------------------
Go to the top of the page
 
+Quote Post
eXoR
post 2007-05-13 20:22
Post #20


Makes Se-nse
****

Group: Members
Posts: 420
Joined: 2007-01-04
From: Austria
Member No.: 10,124
Mobile: W960i



thanks! the k610 worked!!


--------------------
SE W960i
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: