Related
10/20/2008: You may or may not notice that I haven't updated the script in a while. I had lost my windows mobile phone (t-mobile shadow) many months ago and I guess that killed my enthusiasm and any practical way to do testing (process detection doesn't work very well on the emulator). It also doesn't help that mortscript is frozen in time as well. Since I don't really see many Windows Mobile Standard devices coming out and I refuse to use a phone that requires a stylus, my next phone will likely be an android device (which interestingly enough, has an opera mini port).
There are probably a few bugs lurking around in the code for some fringe cases, but as always, you are welcomed to examine and update the script to your needs and it would be very appreciated if you would post a link to the update here. Also, I think JZ's SmartMort script is still keeping things interesting so you may want to check that out.
Click to expand...
Click to collapse
Latest version: 06/17/2008 0.11b
Faster Startup, Better OM control, Select / Copy / Paste (works in smartphone MS Word!), HotKey, and many fixes.
Click to expand...
Click to collapse
{
"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"
}
INTRODUCTION
You probably know of Menneisyys' original thread of making Opera Mini behave like the default browser by responding to links in emails and other locations. A component of making that work is a script to launch opera mini and enter the url. I've been enhancing my version of the script to make it easy to everyone to use.
While this script has some powerful options, its main purpose is to make it easy to launch opera mini directly and use opera mini to handle links.
At first run, an auto-detection process will try to automatically figure out how to launch opera mini and update your device so links are opened by Opera Mini. No more worrying about what jbed.exe parameters to use. Launching the script directly will open Opera Mini so you can just reference the script in shortcuts and launchers.
In previous versions of the script, you had to manually guess how much delay is needed before opera mini is ready for the script to enter the url. This script has method to detect if Opera Mini is running and if it's ready automatically.
If anything changed on your system that affects Opera Mini, just run Setup to re-detect your settings or tweak a setting. No text editing of the script required.
FEATURES
Make Opera Mini your default browser
When you run the script, the script will automatically find and launch Opera Mini. Optionally, update your registry so links in emails, contacts, appointments, documents, and other apps are handled by Opera Mini. Optionally, create a Start Menu shortcut with icon to launch Opera Mini.
Works with both Opera Mini 3.1, 4.0 and 4.1. Landscape and fullscreen mode is supported. Will work with 4.1 with Auto-complete Address Input enabled or not.
Quickswitch
Invoke the script with OM visible and you can have the script automatically option open the current page in IE and vice versa. This is handy when you encounter a page that would render better in the other browser. For example, in Opera Mini, you encounter a page with a youTube video so you quickswitch to IE to view the video.
Hotkey
You can assign a single hardware button to the HotKey shortcut and have quick access to most script features, including text select, copy, and paste commands.
Customizations / Special features
Enable prompting of what action to take when invoking a link or starting the script, such as asking which browser to use or sending the url to the clipboard. Timeout option available.
Add your own custom applications as choices to respond to links, so you can add browsers like netfront or opera.
Exclude list for sites that you want to automatically open in an alternative app like IE, such as your provider's private-network MMS server. Also good for automatically using IE to download files that Opera Mini may not handle correctly. Prompt and timeout option available.
Patch selector.utf file to eliminate permission prompting by midlets.
Create shortcuts to all your midlets in your Start Menu.
Click to expand...
Click to collapse
HISTORY
11/29/2007 0.01b: Initial version (based on Menneisyys' script) [details]
04/06/2008 0.02b: Next version (based on info from JZ's script) [details]
04/10/2008 0.03b: Enhanced and uploaded to this thread
04/11/2008 0.04b: Fix: will find jbed.exe if even no quotes are around the registry value [details]
04/11/2008 0.05b: landscape support, address input optimizations, improved DAI tolerance, shortcut with icon created, filename change to ini file. [details]
04/12/2008 0.06b: tweaked delay b/t keys and delay after paste [details]
04/15/2008 0.07b: Shortcuts created in localized Start Menu location, Prompt-less auto-configuration, Alternative url input methods, What to do options list, To kill jbed or not, 'Start Opera Mini Setup' [details]
04/22/2008 0.08b: More url paste options, Improved opera control scheme, Shortcuts add/remove options, More Setup functions, selector.utf patching, Reworked logic on when to kill jbed.exe [details]
04/25/2008 0.09b: Exclusion list, Last Link saved, Improved shortcut icons, help file [details]
Update: 04/25/2008 2:50pm EST: found a bug where trim would repeat forever. Fixed and re-uploaded. [details]
05/15/2008 0.10b: Custom Commands, Improved Exclude options, Prompting with timeout, Quickswitch, Special Commands, JVM selection improvements, Fixes [details]
UPDATE1: 05/15/2008 11PM EST 0.10b sp1: found some bugs with quickswitch if Use Direct Address Input is enabled. Fixed and re-uploaded.
UPDATE2: 05/16/2008 12PM EST: 0.10b sp2: got quickswitch working on my WM6 PDA by introducing context-menu methods for copy, paste, and select-all. Of course, only touch-screen devices have a context-menu. Also, you can choose different copy, paste, and select methods for use in OM and IE, which is important since context-menus don't appear to work within my JVM. Also added prompt and prompt timeout options to quickswitch [details]
UPDATE3: 05/20/2008 1:30PM EST: 0.10b sp3: more quickfix tweaks, more commands when using quickswitch prompt so the prompt is more like a context menu allowing to perform an action with the current url or task-switch between browsers. Also added a sample bookmarks.mscr script that you can add to your list of commands and use with quickswitch prompt to have a unified bookmark list between IE and OM. [details]
06/17/2008 0.11b: Faster Startup, Better OM control, Select / Copy / Paste, HotKey, and many fixes. [url="http://forum.xda-developers.com/showthread.php?t=384271&page=14#138][details][/url]
Click to expand...
Click to collapse
TO DO / KNOWN BUGS:
On some platforms, Mortscript will crash if it tries to read the clipboard containing a large amount of text (around 16KB+ on my smartphone). This is easy to do if you are editing a large document and do a select-all + copy. My script will detect the crash and offer to clear the clipboard contents so mortscript will not crash again if you repeat the same action.
When viewing a script dialog window, like a prompt window or a setup window, it is possible for another application come into focus and you will lose access to the script window. A common way this can happen is when you receive a phone call and the call window appears. My script will automatically check if its dialog windows is in focus and if not, it will try to bring it to focus. This usually works but I've seen where the script only manages to get the title bar to appear but the rest of the screen still shows the previous application. User inputs will be focused on the script though you can't visually see the results. If this scenario occurs, just wait a few minutes and mortscript will eventually bring the dialog window back in focus. If you can't wait, you can kill mortscript via HotKey > StopScripts or manually run \sub\stop_scripts.
Click to expand...
Click to collapse
Be sure to download the version you want. I'm keeping some of the previous version up in case of bugs or undesired behavior in the latest version.
REQUIREMENTS
Jbed JVM
Jbed 2.1: (recommended)
http://www.modaco.com/index.php?act=attach&type=post&id=23899
Jbed 3.1:
http://forum.xda-developers.com/showpost.php?p=2127317&postcount=65
Jbed 3.1 has a bug on smartphones where if you switch away from jbed and then switch back, the screen may not refresh. Workaround is to manually start the JVM, select Menu > Background Running, and finaly start Opera Mini. Script setting 'Kill JVM First' will need to be set to 'No'. This is also a good method to allow you to switch away from Opera Mini while it's still loading the page and come back when it's done. This will work for Jbed 2.1 as well.
If you have multiple versions of jbed installed, then the script may not correctly find the version you are using. You can run the Setup application and manually select your JVM executable and the selector.utf file that catalogs the midlets you have installed.
If you start the script to start Opera Mini and briefly see a flash of white, then either the script has chosen the wrong JVM/selector.utf pair or you recently installed a JVM that is of a different version from your last one. In the latter case, your currently installed midlets may not work with the newly installed JVM and you may need to uninstall all your midlets and reinstall them.
Click to expand...
Click to collapse
Opera Mini (3.1, 4.0, 4.1 beta, 4.1 Final)
http://www.operamini.com
To get the signed version of Opera Mini 4.1 Final so you're not prompted for permissions:
On the device, use IE mobile and go to http://mini.opera.com
The version shown is probably 4.1 US English, No signature, which is probably what you don't want so don't download that. If you're fine with the chosen language, skip to step 5. Otherwise, see the next step.
Click Download in another language.
Now a list of all language versions appear so choose one. I prefer to download Opera Mini 4.1 International for foreign language websites.
Click 'If this version fails to install or you would like to install a previous version, please click here.'
Choose the signed version you want.
Click to expand...
Click to collapse
Mortscript (4.1 or higher)
http://www.sto-helit.de/index.php?module=page&entry=ms_overview&action=view
INSTALLATION
Download Mortscript (4.1 and up), Jbed (2.1 preferred), and Opera Mini (signed version preferred) and install them. Make sure you can run Jbed and then run Opera Mini. You should run Opera Mini at least once to get pass all the initial installation and license agreement screens.
Extract the script contents to anywhere on your device. The zip file contents are stored in a \StartOperaMini\ folder so you can just extract that folder like to '\Program Files\Mortscript\StartOperaMini\'.
In version 0.09b and 0.11b, the OperaIcon.dll is updated with better or additional shortcut icons. You may not be able to directly overrwrite the existing OperaIcon.dll file so rename the file to something else like OperaIcon.dll_, and then transfer the new OperaIcon.dll. A reboot may be needed before the old OperaIcon.dll can be deleted.
To support the new icons, the shortcuts have been modified, so you may need to update your shortcuts from the correct ones in the script folder or run Setup and toggle the Start Menu shortcut option to No and then back to Yes.
Also, you may be asked for permissions to load OperaIcon.dll when you access your Start Menu and the OS tries to load the icon graphics. Just allow it and the message shouldn't appear again.
Click to expand...
Click to collapse
Open file manager, navigate to where you copied StartOperaMini to, and run StartOperaMini.mscr. If this is the first time you're running the script from the current location, then the script will initialize by detecting your JVM and Opera Mini settings and ask you some initial setup questions.
One important question is if you want to register the script so the script is run when you click on a link in emails, documents, etc. This step is optional, but is helpful in making Opera Mini behave like the default browser. If you skip this step but have another version of the script installed elsewhere that is registered, then clicking an email link will open up the other version of the script.
When Opera Mini opens up, installation is complete. Note that version 0.11b does not support the settings from previous versions so you may need to revise the initial settings.
If you want to run the script from an application launcher, either link to the 'Start Opera Mini' shortcut or link directly to the StartOperaMini.mscr script.
If you want to use the HotKey feature to easily access other script commands like copy/paste, you should map a hardware key to the shortcut 'Start Opera Mini Hotkey' and then customize the HotKey function in Setup. View the help file if you need more information.
If you need to change any settings, just run the shortcut 'Start Opera Mini Setup'. View the help file if you need more information.
LIMITATIONS
When opening links to local files or to sites on private carrier networks (portals, MMS server), Opera Mini will fail to get to that address. Run setup and add the host to the exclude list of those links will open in IE instead.
If Internet Explorer is opened, links in contacts and appointments may automatically still use Internet Explorer. Workaround is to kill Internet Explorer first, which is an option in the Setup program.
Some paste and control methods may not work on certain devices, so try different settings in Setup.
UNINSTALLATION
Run the Setup Program and then select the Uninstall option.
Delete script files from the script folder. You may not be able to directly delete the OperaIcon.dll file since the system may still be using it to display the shortcut icon. Rename the file to something else like OperaIcon.dll_, reboot, and then it should be deletable.
THANKS
Much thanks to Menneisyys for giving birth to this breakthrough idea and for JZ SmartMort for bringing new innovations to the table (check out his JZ SmartMort tool). Much ideas and help is from the community so it's really due to everyone's efforts.
Feel free to enhance the script to your own needs and use it in your own projects.
Click to expand...
Click to collapse
[reserved for future use 2]
Hi badbob.
I kind of like the script that you made way back when (Nov.?) that opens up a popup that lets you choose between PIE and OM and the clipboard. It also works for 4.1. It would be neat if the installation script allowed that as an option, and also detected Opera Mobile (and skyfire in the future) and would allow that as an option. Having said that dont make these additions for me as I am happy running the old script. Just thought id give you a suggestion.
Great script..does what it's supposed to and does it well....do you have any issues with it being included with a rom?
Thanks for the script; nice little workaround using the color of the upperleftmost pixel. One thing I've noticed is that I have direct address input turned off in my Opera Mini 4.1. However, I must check "Yes" when asked if it's turned on. Only then will it work properly. Don't know if I'm just reading wrongly, but other than that, it's working perfectly.
By the way I'm using the JBed_20071119.3.1_3dMod_HeapSizeFix_v2_wm6(lovetz1) cab.
It found my jbed.exe, even though it's in a "Jbed3dmod" folder on my storage card.
Overall, it's working great now that I marked off "Yes". Thanks!
famewolf said:
Great script..does what it's supposed to and does it well....do you have any issues with it being included with a rom?
Click to expand...
Click to collapse
No problems. Go ahead.
Replaced
Code:
jbed_exe_ini = Part(RegRead("HKCR","jarfile\Shell\Open\Command",""),"""",2,1)
with
Code:
jbed_exe_ini = replace(RegRead("HKCR","jarfile\Shell\Open\Command",""),"""","")
jbed_exe_ini = SubStr(jbed_exe_ini, 1, find(jbed_exe_ini, "jbed.exe")+7)
So finding the location of jbed.exe from the registry doesn't depend on the quotes being around the command.
Azimuth21 said:
One thing I've noticed is that I have direct address input turned off in my Opera Mini 4.1. However, I must check "Yes" when asked if it's turned on. Only then will it work properly.
Click to expand...
Click to collapse
When you have direct address input (DAI) turned off in both OM and the script, at what point does the script fail?
The following two block of instructions is what the script does when it thinks DAI is turned off.
Code:
LeftSoftKey [open menu]
LeftSoftKey [select Enter Address]
Code:
[select all text]
[paste url over selection]
LeftSoftKey [click OK]
By just being lucky, leaving the script with direct address input turned on will perfectly work even if OM has it turned off. It's just that the extra keys sent don't cause any problems. In your working scenario, having the script think DAI is on will essentially put an extra 'enter' after the first instruction block and then another 'enter' after the second block. Which 'enter' is the one helping you?
volwrath said:
Hi badbob.
I kind of like the script that you made way back when (Nov.?) that opens up a popup that lets you choose between PIE and OM and the clipboard. It also works for 4.1. It would be neat if the installation script allowed that as an option, and also detected Opera Mobile (and skyfire in the future) and would allow that as an option. Having said that dont make these additions for me as I am happy running the old script. Just thought id give you a suggestion.
Click to expand...
Click to collapse
It's relatively easy to slap on the menu option to my script, which tmknight did here.
I'm sure many "power" users will want total control and it's pretty easy to make a script that defers the decisions to the user. But I wanted to try a script that is a bit more friendly and tries to handle decisions on its own... a script that I won't be afraid to put on my wife's phone. Easy is hard.
badbob001 said:
When you have direct address input (DAI) turned off in both OM and the script, at what point does the script fail?
Click to expand...
Click to collapse
badbob001 said:
By just being lucky, leaving the script with direct address input turned on will perfectly work even if OM has it turned off. It's just that the extra keys sent don't cause any problems. In your working scenario, having the script think DAI is on will essentially put an extra 'enter' after the first instruction block and then another 'enter' after the second block. Which 'enter' is the one helping you?
Click to expand...
Click to collapse
Sorry, forgot to clarify. I believe the first enter is helping me, because: if I choose the "No, DAI is Off" option, the script will open up Opera Mini, and stay at the main screen for a few seconds. Still on the OM main screen, the script will say something like "The input box was not found after _ seconds", then ask if I want to go through setup again. If I choose the "Yes, DAI is On" option, everything works normally. Opera Mini opens, the input field is opened, the link is pasted into the input field, the page loads, etc.
Thanks for sharing but on my xda is a german software running called "DK - OperaMini4 Addon" with mortscript 4.1 that does the same as yours. and its out since months. so where are the big news? the only better thing seems to be the autodetecting when mortscript starts running, but you write that this don` t work in mini Landscape mode. but everyone i know uses this mode.
04/11/2008 0.05b
- (Opera's built-in) Landscape support:
I now test pixels in the upper left (0,0)and upper right (screenwidth()-1,0) to determine when Opera is running and what orientation it is. I'm not too sure how consistent the upper right pixels are on different devices, but it works fine on my wm6 standard qvga phone. Knowing the orientation is important since in landscape, you have to now press left or right instead of up and down to open the address bar drop down.
- Slightly improved address input:
The script originally sent [leftsoftkey] to open the opera menu and another [leftsoftkey] to select the 'enter address' option. Since I restart Opera Mini if an url needs to be pasted, the initial cursor is already on the address input box, so I just need to send one [enter].
At least on my device, if Direct Address Input (DAI) is on, a rare case occurs where I need to send an extra [enter] to have Opera submit the url. It doesn't appear to cause any ill effects if two [enter]s are sent every time when using DAI.
- Improved tolerance of mismatch DAI setting:
Some people may notice that if you have DAI (Direct Address Input) disabled in Opera but enabled in the script, the extra keys sent by the script don't cause any problems except for being a micro-fraction slower.
For the opposite scenario where if you have DAI enabled in Opera but disabled in the script, the previous result was that the script will complain that it didn't find the Address Input window. Now when it doesn't find the Address Input window, it will assume DAI is really turned on and send the extra DAI keys. If that doesn't work, then you it will complain. But if does, it'll continue with no problems. The *next* time you run the Opera Mini, the script will say that it thinks you told it the wrong DAI setting and offers to run the setup wizard for you to enter the correct settings.
- Start Menu Shortcut with icon
The setup wizard will add a 'Start Opera Mini' shortcut to your Start Menu and it will have the Opera icon:
Kevxross here: http://forum.ppcgeeks.com/showthread.php?t=7346 embedded the opera icon in a dll so it can be referenced by shortcuts. I've included the .dll in the .zip, so just copy it to the same location as the script.
- Ini file renamed
The only manual step that users may need to do is delete the .ini file if they want to easily get the setup wizard to run again. But I noticed that the built-in file manager will hide the extension of files and so users can't really tell the ini file from the script. I've renamed the ini file to <scriptname>_ini.txt. If you're upgrading, the script will automatically rename the existing .ini to _ini.txt.
badbob001 said:
It's relatively easy to slap on the menu option to my script, which tmknight did here.
I'm sure many "power" users will want total control and it's pretty easy to make a script that defers the decisions to the user. But I wanted to try a script that is a bit more friendly and tries to handle decisions on its own... a script that I won't be afraid to put on my wife's phone. Easy is hard.
Click to expand...
Click to collapse
Heh I understand completely. I was able to successfully modify your previous script, so its good by me
here`s the link to the software that does work like yours[/B]. This is out for 2 or 3 months but your welcome to develope the same twice::
Makes as direct shortcut to Opera mini including opera icon and opens urls with mortscript 4.1 ("Opera Mini addon direkt"):
http://www.ppc-welt.info/community/showthread.php?t=122764
Is there a version of this script for smartphone? It works great for PPC, but copy and paste doesn't exist on WM 6.0 standard and fails on my BlackJack II.
bluemetalaxe said:
here`s the link to the software that does work like yours[/B]. This is out for 2 or 3 months but your welcome to develope the same twice::
Makes as direct shortcut to Opera mini including opera icon and opens urls with mortscript 4.1 ("Opera Mini addon direkt"):
http://www.ppc-welt.info/community/showthread.php?t=122764
Click to expand...
Click to collapse
We are so happy you found a similar script months ago. You've posted about it twice now within 6 posts of each other. Please stop harassing the author of this one as several of us are quite happy with his script. Does the old script still use wait states? The new one doesn't. Does the old one automatically find your jbed even if it's on a storage card and find the slot opera is installed in no matter which one you used? The new one does. Finally his current version works with landscape. The entire page you referenced is in a foreign language and I for one appreciate support from an author who can communicate without the need to use babelfish.
Extra carriage return?
Hi badbob and all.
Thanks to everyone who contributed to this script. I'm lovin this.
I'm running Opera Mini 4.1 (v. 4.1.10781, 20080401 to be exact) on a Sprint Mogul / HTC Titan. After installation and first-time setup the script correctly launched OM and pasted in the link. However the page did not load. I had to manually hit the enter key to make it start the loading process.
After poking around in the script for a while I managed to make it load automatically. Around line 320 in the StartOM subroutine I added a wait between the two sendcr commands.
Code:
if ((opera_version_ini eq "4.1" AND direct_address_input eq True) OR (tried_again = True))
sendcr
[B]sleep(wait_time_between_keys)[/B]
sendcr
endif
I don't know whether I fixed a script bug or my phone just has special needs.
Great work i was thinking of the same thing today.
Thanks alot.
cheesiest said:
Hi badbob and all.
Thanks to everyone who contributed to this script. I'm lovin this.
I'm running Opera Mini 4.1 (v. 4.1.10781, 20080401 to be exact) on a Sprint Mogul / HTC Titan. After installation and first-time setup the script correctly launched OM and pasted in the link. However the page did not load. I had to manually hit the enter key to make it start the loading process.
After poking around in the script for a while I managed to make it load automatically. Around line 320 in the StartOM subroutine I added a wait between the two sendcr commands.
Code:
if ((opera_version_ini eq "4.1" AND direct_address_input eq True) OR (tried_again = True))
sendcr
[B]sleep(wait_time_between_keys)[/B]
sendcr
endif
I don't know whether I fixed a script bug or my phone just has special needs.
Click to expand...
Click to collapse
I'm not quite sure how to classify this issue. My code originally only had one sendcr in that section. Then on the rare occasion, I'll see the pasted url in the address field waiting for me to hit enter to submit it. I do notice that everytime I see this happen, the last character in the pasted url is a square box, which means a character the device can't display. I figured, what the hey, lets add another sendcr in there and be done with this problem.
But I guess that didn't really solve the problem. I'm now guessing that I'm not allowing enough time for the device to receive the entire text from the paste before moving on to the next command. So maybe the device is still processing the long url text being pasted and ignores the later key commands. And maybe it also needs a little more time to switch from the text input screen back to opera mini.
I've added more delay after the paste and after leaving the text input window. See version 0.06b for this tweak and see if it helps. I've also taken out the second sendcr. If it works reliably, then the delays fixed it.
Code:
SendCtrlKey("V")
[b]Sleep(500)[/B]
SendLeftSoft
if ((opera_version_ini eq "4.1" AND direct_address_input eq True) OR (tried_again = True))
[b]Sleep(500)[/b]
sendcr
endif
{
"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"
}
Latest Info
12Oct2011 - Facebook has altered the authorisation slightly, so manual paste method needs a little extra care (details here - Thanks to Nullstring).
(01June2011)Big RSSTab Development Announcement
(3March2011) Dual (AKA Easy) Cab Install Released - meltwater_FbTabV1.6(SeperateCabs)-2.zip (See install post for instructions)
Moved to post#3 to avoid confusion:
meltwater HTC FbTab v1.6.cab (3.32 MB, 7583 views)
v1.6Release05Aug2010.zip (3.25 MB, 9095 views)
(31Jan2011) Easy/Dual Cab Install Method Trial - Testing a new way to install and uninstall the FbTab.
(meltwater_FbTabV1.6&SenseUtil.cab (603 views) meltwater_FbTabV1.6(SeperateCabs).zip (272 views))
(4Dec2010) Introducing SenseUtil to assist with installation of any custom tab
(27Sep2010) Lang files added (hu-hu - zoliwr, zh-tw - mudhi). Many thanks.
(24Aug2010) New forum banner by Drakknar (thanks!)
(23Aug2010) Sense 2.5.192x (& old sense) Patch released (allows most of the tab functions to be used on a 2.5.192x based device)
(18Aug2010) TabProject2:Call for Developers
(11Aug2010) Facebook Tab v1.6 Cab & EXT (post#2) released
(05Aug2010) Updated Facebook Tab v1.6 released - GTX, Cabs & EXT will hopefully follow (v1.5 Cab kept to allow install and upgrade - use v1.6 cab)
(31July2010) Drakknar's icons are now live on facebook!
(22July2010) Request for FbTab Icon!
(21July2010) Captain Throwback's Cab (meltwater HTC FbTab v1.5.cab) moved to post#1 (please follow instructions on post#3 for install and un-install)
(20July2010) Tutorial/Files for changing Tab Text to Black (apaquette420 - see links below)
(19July2010) pt-pt & pt-br lang file RevB - attached to post#4
(16July2010) Fr-fr lang file RevB - attached to post#4
(16July2010) Upgrade Cabs are available see (1st roundup of Q&A Support below)
(15July2010) Releasing the v1.5 manual files now, let me know how you get on.
Please follow the install instructions very carefully & RTFM (read the fantastic manual) before asking Qs.
Note on development...
I have a development version which I've been working on which can do a lot more with the facebook api, however it is far from complete or bug free, but it was able to post comments, read all the status updates/wall posts of all your friends etc etc. I was also playing around with different GUI aspects but I hit several limits with the Sense SDK I was using etc.
Anyway, basically I've not had any time to look at it for the last few months, and the best course of action is to scrap it and let the XdaFacebook App team use the ties I was planning to use to link the tab to an application. Hopefully I can get a few of my ideas and suggestions put into the app, so the vision I had for the tab can still be realised. Since I'm not using facebook that much at the moment, I think this is the best way for the tab to move forward and provide more for everyone.
Hopefully as my work on the RSSTab continues, the main core of the Facebook tab (the HTC engine) can be replaced by the XdaFacebook app, so all the data in the tab can be populated directly from the same source. Although this will be a while off, this will be the best solution in the end.
Donations
PayPal:
if you use the facebook tab and would like my work to continue
I purposely did not include a donate button on the 1st release since although I had made several changes to the tab a lot of it was purely HTC functionality (and it would have been hard to understand what was my own work and what HTC have already included).
I did not feel it was fair to ask for donations where my own work on it was not clear.
However, since the 1st release I have been working very hard on this project, I have spent many hours/days/weeks testing and experimenting with the facebook api and with ensuring that the new additions will work not only on my device but will function for everyone (believe me it's a frustrating task).
So if you like using the tab (or if I've helped you get it working), and if you feel my work deserves it then please make a small donation, even if it's a few cents (even a tiny bit shows your appreciation).
Any donations will be spent on things to help me focus on developing the tab further, first up is a new battery (only $15!) as my phone has suffered from the many resets it has taken to test the sense code so far, so I really need to get a backup one. Hopefully that isn't a huge ask.
New phone battery is on it's way, many thanks to the total of 3 detonator so far. Next up, although I'm not confident on this one, is a battery for my laptop so I can program without being tethered to a power socket (and losing my work when it disconnects - have about 10 seconds before it dies). Again, I plan to get it from a cheep place so it's not too expensive, just something which only needed for this hobby.
It all shows that my work means something.
Information on the facebook api
When I started looking into the facebook api (something I said I wouldn't do I know) I discovered "Facebook Developer Toolkit", excellent I thought, my work is done, plug it in and away we go.
However, investigating further Microsoft had taken over the toolkit, the compact framework (as used by Windows Mobile) had been dropped (since Jan 14 2008) and they are only just building SilverLight support into it (windows phone 7). Add to that, facebook have introduced the GraphApi which replaces the Api implemented in the Jan 2008 build (and I don't think it's in the current Tookkit yet).
You might guess the next bit, after a lot of work, I have the outline of my own Fb Graph Api support. The next release shall be the foundation point of this work, if successful the remainder of my test code can be built in (but I didn't want to delay things any longer and I needed to see if it works on-mass first).
It has taken a lot to get it to this point - my only other windows mobile app was "Hello Worlde" so once again I have been starting from scratch and learning A LOT:
I hope you enjoy my hard work.
This release is to bring the general release up to speed with my current work, it may not appear to be significant in added functionality but believe me it is the stepping stone required for what comes next...
Information on the tab.
The origins of the facebook tab is the relocation of the HTC People Update's tab which is built into sense already. The mod originally moved this functionality into the main tabs and added a few extra features, therefore enabling everyone to enjoy the built in facebook functionality without hunting to find it, but also enjoy the excellent features HTC had already integrated.
Since then, I've been working hard to extend the features which the tab provides, improve the options for how things are displayed and allow easy configuration. Overtime, more features will be included and hopefully support for external apps perhaps.
Please don't badger for specific facebook features, I'm well aware I can't do comments, pokes, likes, notifications etc etc, but the current release is a huge step toward that and hopefully it will come in time.
Read and understand the above information before asking for features, but this is what I still hope to do (again don't post asking for them if it's on this list!).
To Do
192X version See patch in post below
Stage 2 of Facebook Api
[*]Use extra space at top of landscape mode
Include sense language selection HKCU\MUI\CurLang
Handle senseSDK version exception
[*]Support non-standard chars on Status Update post to facebook
[*]Remove item list scroll lag
Development Progress
[MOD][SENSE2.5TAB] Facebook Tab - Developer Thread
http://forum.xda-developers.com/showthread.php?t=663494
Note:
The development work is on going and I will release the next version when there is something essential and must-have implemented.
I would rather spend time developing new features than releasing tiny updates of little significance.
Known Issues
Will not work on manila 2.5.1921xxxx or lower (and some ROMs) - use 192x Install Patch (see Install post#3)!
It seems there are two versions of the facebook engine and the older one (used by 2.5.192x and some other ROMs) the 0DE73B01_manila file is smaller (~41k) than the newer version (~47k).
If you have the older version (small file), then you must use the 192x version of the tab or the tab will be un-usable and crash sense.
Info for cooks
See section "Can we cook this in a ROM?" in post #2 for EXT file etc.
Change History
23 Aug 2010 Sense 2.5.192x (& old sense) Patch released (MattOG testing)
11 Aug 2010 v1.6 Cab Release (captain_throwback & qitt)
05 Aug 2010 v1.6 Release
21 July 2010 v1.5 Cab Release (1032+250 views) +706 for v1.6 update (captain_throwback)
15 July 2010 v1.5 Release (1881 views) + GTXSkin (361+183 views) (mike2nl)
-(see user manual for update details) included lang files
(en-gb,en-us,nl-nl,fr-fr,de-de,pt-pt,pt-br,cs-cz,it-it,el-gr,sk-sk)
15 April 2010 v1.01 ReleaseD (2815 views) + All-In-One Cab (7762 views)
- Joint fixes for icon issues (etoy & qitt), included lang files
(en-gb,en-us,de-de,pt-pt,es-es,fr-fr,cs-cz,it-it,zh-tw,no-no)
12 April 2010 v1.0 All-In-One Cab Release Cab (353+71 views)
- Joint work from johncmolyneux & Captain_Throwback
24 March 2010 v1.0 ReleaseC (5185 views)+Cab(1084 views)
- switch over to use FacebookStatusUpdate.exe instead of mortscript
- updated manila so "Facebook.MyStatusScript" can be left blank and still run Facebook.MyStatusExe
(if using older release just leave the entry, it will be ignored - otherwise it'll skip copy of my status)
- updated Readme
- reg file no longer system hidden
FacebookStatusUpdate.zip (234 views)
- exe available to replace mortscript! (thanks to johncmolyneux) - see install instructs for details (will repack later)
23 March 2010 V1.0 ReleaseB (494 views)
- Changed default facebook app to MS Facebook App
- Updated Readme
23 March 2010 V1.0 Release
- First release
NEWS
POCKETNOW.COM Facebook Tab Released for HTC Sense 2.5
http://pocketnow.com/tweaks-hacks/facebook-tab-released-for-htc-sense-25
POCKETNOW.COM Video: Facebook Tab for HTC Sense
[/SIZE]http://pocketnow.com/softwar...cketnow+(pocketnow.com)&utm_content=Google+UK
Finally the tab for htc FACEBOOK Sense 2.5 is just beginning (Italian)
http://htc.hdblog.it/2010/03/24/finalmente-il-tab-facebook-per-htc-sense-2-5-muove-i-primi-passi/
I'm well proud! Thanks!
Thanks To
Sense 2.5.192x Patch Testing MattOG
v1.5 Beta Testers Agent Zach, Captain_Throwback, johncmolyneux, mike2nl, mkucuksari,electrikjesus, madindehead, Quitt, sternas, wez89
Sense SDK support eboelzner (+greenhacks & others on the thread)
Language Translations -see post #4 for details
BeeGee_Tokyo & maxycy (v1.5 maxSense fix)
Captain_Throwback (cab's etc)
johncmolyneux (FacebookStatusUpdate.exe, All-In-One exe, coding support)
etoy & qitt (Icon fixes)
MoonNah (for use of ManilaStartFix used in cabs)
Co0kieMonster
utopykzebulon
Everyone behind the kitchen (without which I would have got no-where):
12aon, 6fg8, chainfire, sztupy, Co0kieMonster etc
People who provided language files.
Also thanks for all the words of encouragement, patience and praise.
Thanks to Donators:
Laurentius26 - 12April2011
unknown - 16Dec2010
MattOG - 13Aug2010
weepatc - 11Aug2010
sharkie405
beegee_tokyo
Agent Zach
Warnings etc
Modifying manila means various levels of messing around with the files on the device so, as with most of the mods on here, back-up often and be prepared to screw it up and hard-reset your device. All the changes explained here may or may-not work on your particular device/version of manila or perhaps it's just not going to happen today.
______
Latest WVGA Screens
Latest VGA Screens
______
Thread Quicklinks:
RTFM - Read The Fantastic Manual & FAQ [Post#2]
Install Instructions [Post#3]
Language Files [Post#4]
v1.6 Release - Support for this release starts here [Post#1002+]
v1.5 Release - 1st roundup of Q&A Support [Post#829] Please read before posting similar Qs
v1.5 Release - Support for this release starts here [Post#771+]
Thread Tips/Guides:
(apaquette420) Change Tab Text To Black Tutorial & Files
See Sense FbTab Install Post for install instructions (must read before installing).
RTFM - Read The Fantastic Manual
RTFM - User Manual
Features
All the HTC facebook goodness on your doorstep!
Plus:
Update Now left-soft key
Launch Facebook App in menu (configure to fav app)
Launch Facebook Online in menu (configure to fav site)
Successful Update Time Display
Adjustable Automatic Update Peroid
My Updates - Displays your real status (only support text updates - urls etc ignored)
New For v1.6:
Improved scrolling
Support for non-ascii character updates
Anniversary/Birthday Icons moved for expanded views
Updated package to include fixed lang files
Correct reg key for Desktop Online
New For v1.5:
Update your facebook status directly from the tab!
Sense Settings Page (all settings for the tab now configurable via sense)
Expand/Collapse View
Introducing the HTC FbTab, (Stage 1 - The initial step to access the Facebook Api).
Improved multi-language support (api available for wm apps)
Facebook Tab Settings v1.6
The settings page is split into 5 main sections.
If any settings are adjusted, the user will be able to apply the settings from this page or to discard the changes.
The exception is within the Facebook Api Settings page where the authorisation keys are stored as soon as they are obtained.
Selection between normal and advanced settings (A) are set by the "Enable Advanced Settings" checkbox within the Advanced setting section.
Note: Any changes to any Advanced settings may cause issues with the operation of the tab if done incorrectly, so make sure you understand the purpose of these settings before you change them. They are marked as Advanced settings for a reason!
1 - Data Connections
Normal(1) Advanced(2)
Enable auto update timer[]
- Enable this setting if you wish the tab to automatically update for the specified period (this is independent of the HTC Download data automatically setting below).
Update internal in mins XX
- Period before automatic update occurs. Note: This appears only to run when the tab is selected, timer is reset on entry to the tab. Range is currently limited to 1-99 mins.
Download data when roaming
- I've not tested this much (I keep my data connections disabled). This setting controls if data connections should be allowed when roaming (not sure if that's general mobile connections via GPRS & 3G or when you are not on your foreign cell network). This setting is the setting available in the old HTC setting page.
(A) Download data automatically
- HTC 2 hour automatic update of the facebook data. Included in case you need to disable it (this runs independently from the above update timer).
2 - App & Web Shortcuts
Normal(1) Advanced(2&3)
Select Facebook Application
- Select which application is launched via Menu->Facebook App. Also selects which item to edit/delete in advanced mode.
Select Facebook Webpage:
- Select which webpage is launched via Menu->Facebook Online. Also selects which item to edit/delete in advanced mode.
(A) Delete Selected Application/Webpage
- removes the selected item from the list
(A) Edit Selected Application/Webpage
- Opens up the edit page for the current item (see below)
(A) Add New Application/Webpage
- Opens up the add new item page (see below)
Edit/Add Application(1) Edit/Add Webpage(2)
(A) Add/Edit Application/Webpage
(A) Display Name
- sets the name to use in setting page to refer to the application/webpage
(A) Shortcut
- the url/file path can be edited here directly.
(A) Browse to path (applications only)
- Opens the select file page to allow you to browse to and select the required exe.
Note: When you have selected the exe file by pressing it, "Select" will appear as the bottom right soft-key. You can "Select" the exe or "Cancel" if you wish.
(A) Additional arguments
- Some applications/pages may support additional arguments, which can be added here.
3 - Facebook Api Settings
Normal (Internal Authorisation Method)(1) Normal (External Authorisation Method)(2)
Note: Unlike the other settings pages, changes made the authorisation key are saved directly to the registry.
The authorisation here is only for the new functionality of the tab, in order to populate the friends list and get status updates you will still need to authorise the "HTC Sense" application via the Setting Tab -> Data Services.
If you do not wish to use the new functionality and the "HTC FbTab" application, then check the "Disable prompt for authorisation []" checkbox to avoid being asked to authorise the application. You will not be able to post updates via the tab without authorising first.
Due to issues with the authorisation methods with facebook, two options are provided to ensure this application will work with as many people as possible.
Option 1:
Use internal authorisation
- This uses an internal browser to display the authorisation page from facebook and allows you to login and authorise the application permissions. This should be the simplest method for most users, press Authorise and follow the prompts to authorise the HTC FbTab used for posting status messages directly from the tab.
Don't forget you will need to be connected to the internet and be able to access the facebook website from your connection.
Option 2:
Use external authorisation (Use default browser & paste code)
- On some devices the internal browser fails to work correctly, hence this method will launch your default browser (i.e. Opera) and navigate directly to facebook to authorise the "HTC FbTab" application.
Don't forget you will need to be connected to the internet and be able to access the facebook website from your connection.
1. You should login and authorise the application permissions.
2. Once you have authorised the application, you then need to Copy the url (either the whole thing or the part including "code=...", as long as you have at least the "code=..." to the end it will work). In Opera you can do this by pressing and holding on the url (if unselected it will default to copying the whole url).
3. Once you have copied the code into the clipboard, return to the settings page and press "Paste & Authorise".
The settings page will then use the code and authorise the application.
Remove Authorisation:
- This will remove the authorisation from the registry.
Note: If you want to fully remove the authorisation you will need to remove it directly from the your facebook account settings, via the Application Settings page.
Advanced (Internal Authorisation Method)(1) Advanced (External Authorisation Method)(2)
(A) Advanced Api settings (applies to both methods):
Note: These settings will default back to the original settings when the settings page is closed. This ensures the best settings are selected each time, unless the user specifically desires otherwise.
(A) Select authorisation page format
- Determines the format of the page facebook provides for authorisation. At times some pages may not be available, also some work better with the internal browser than others. You should only need to change this if you have a problem.
(A) Application Permissions
- Allows you to enable/disable the permissions you allow the "HTC FbTab" application to have. All are set to enable, since you will probably want to give the app permissions, but I want to provide the choice.
(A) Status Update
- Clearly you will need this if you wish to post updates from the tab.
(A) Offline Access
- Without this the permission will only last until you log out of facebook. Unlikely you would want to disable this option.
(A) Read Feeds
- This permission is not currently used by the application, however, it will be in later releases so if left enabled you can keep your current authorisation for later releases.
4 - File Path Settings
Normal(1) Advanced(2&3)
Hide facebook events
- Disables events being shown on the facebook tab.
Note: Events for the current day are still shown.
Event Notice Period (days)
- Specify the number of days before an event is due to occur before it is displayed on the tab.
Facebook Utility:
- In normal mode, this is read-only (Advanced mode you can edit it directly). If the stored path does not match the location of the FacebookUtil.exe, then a button shall be displayed to update it. If this is not set correctly, the tab will not open the settings pages or status update pages correctly, so it is important if you move FacebookUtil.exe, you run it from it's new location and update this item.
(A) Location of facebook profile pictures:
- For info only, this is a fixed location defined by the HTC dll.
(A) Location of facebook albums:
- Defines where the pictures are stored when you view people's facebook albums via the HTC tab's subpage "Updated Album" or "Open Online Album" links.
(A) Browse to path:
- Allows you to browse to a specific path to update the above location. "Select" appears when you are able to select the current folder.
(A) My Status Transfer Method
(A) Use Facebook Utility
- Allows you to define which method is used to copy the registry item which holds your most recent status update. You should only need to change this if you experience problems or slow response on the tab (this is less important on v1.6 since this is not run as often).
(A) Browse to path:
- Allows you to browse to a specific path to update the above location. "Select" appears when you are able to select the current exe.
(A) Additional arguments
- If required for the selected method.
eg.
Using Mortscript
App: \Windows\mortscript.exe
Argument: \Windows\FacebookStatusScript.mscr
Using FacebookStatusUpdate.exe
App: \Windows\FacebookStatusUpdate.exe
Argument: blank
(A) MS Facebook Application
(A) Cache location
- Allows you to change where the MS facebook application caches it's data
(A) Days to clear Cache:
- Number of days before MS facebook application the cache is cleared. (Limit 1-99 days).
5 - Advanced
Enable Advanced Settings
- Allows (A) advanced settings to be seen.
Note: Any changes to any Advanced settings may cause issues with the operation of the tab if done incorrectly, so make sure you understand the purpose of these settings before you change them. They are marked as Advanced settings for a reason!
Language Setting
Note:
The language settings here are independent of your language settings for sense itself.
Use device language
- The settings page will detect the devices language and use the correct language file if present. Otherwise it will default to UK English.
Application language setting:
- You can select a different language for the settings pages here. You will need to ensure you have the correct language file within your windows folder, otherwise the selection will be rejected.
If the file is reported as invalid, then there is probably an error in the xml formatting (you can double check the file by naming it .xml and opening via internet explorer).
About
Pressing on the xdadev meltwater's fbTab graphic will take you to directly this thread, so you can get support or make a donation!
Pressing on the Sense SDK graphic will show you more information about eboelzner's excellent Sense SDK used by this application.
FAQ
When I scroll to the tab, sense freezes and it is un-usable
It seems there are two versions of the facebook engine and the older one (used by 2.5.192x and some other ROMs) the 0DE73B01_manila file is smaller (~41k) than the newer version (~47k).
If you have the older version (small file), then you must use the 192x version of the tab or the tab will be un-usable and crash sense (see the FAQ It doesn't work for Manila 192X? below).
Tab freezes on 1st update and is unstable
I've found this sometimes occurs if you have restored your contacts after flashing a ROM (so you have lots of links which need updating all at once), although it may only occur on some ROMs [however I've found the people tab has the same problem, so it related to the HTC built in functions].
Ideally:
Setup the HTC facebook link and perform the 1st update without your contacts restored.
Otherwise:
Remove the links (via the contact card in the people tab)
Perform the update (from within the People Updates tab might also help)
After update has finished, it'll probably list the contact matches it finds again (don't forget to manually link any you linked manually before)
This way the when the links are re-added info like the contact pictures etc are already downloaded (done during the link process) and the process probably uses less resources.
From that point on, it is improved.
Menu item X does not work (i.e Settings)
Make sure you run "FacebookUtil.exe" from where-ever you installed it and update the "Facebook Utility Path" as described in the manual install sections.
Launch App/Web does not work (i.e. I get a Certificate error)
Make sure you have the application installed and the link is correct. Use the advanced (A) settings within the "File Path Settings" section of the settings page.
Updates were working, but have since stopped, how to do I get them working again?
http://forum.xda-developers.com/showpost.php?p=9688442&postcount=1375
(Thanks to Yusuke14 for confirming this solution)
1. Remove the registry keys located in:
HKLM\Software\HTC\HTCAccountManager\Facebook**** keys.
2. Via Settings tab on Sense, within the Data Services option, re-enter your facebook info
I can't see any updates from my friends!
You can create blank contacts with the facebook names as the contact name without a phone number or anything and it should still pick up and prompt for the links automatically.
You can even link any contact manually to a particular facebook contact via "Edit Contact" -> Facebook Link (Associate with Facebook Account) at the bottom bit of the contact editor.
Also you will need to sign into facebook via HTC first, before any contacts will be linked, it should prompt you to do this if you haven't already when you refresh (i.e. via People Page, Updates&Events page or your settings tab Data Services).
Remember though, if the person has privacy settings set high within their facebook account, you may not see updates from them (this is a limit of the HTC code).
It appears the HTC updates only go back so far in time so really old updates don't appear and it does not support non-text updates either (so url links etc are not shown).
Other User tips:
skyli91: You can link facebook to someone pretty fast if you go to Updates and Events in his/her Details page and here, the phone suggests some FB friends from the contact's name.
Agent Zach: You could link all of your contacts manually if the tab isn't giving you the option to do so.
Contacts Tab > All People > [Pick a Contact] > Edit Contact > Link
And if you want to Update the Status', etc.. the HTC way (outside of the Facebook Tab), in your contacts list, slide over to Updates & Events, click Menu, and click "Update Now".
It doesn't work for Manila 192X & some versions of sense?
There are two versions of the files which drive this tab, the tab is based on the later one. So if the tab does not work after you install it you may have the older version...
- Locate 0de73b01_manila in your windows folder.
IF the filesize is around 41Kb then you have the older 192x files and you require the patch.
IF the filesize is around 47Kb then you have the newer 2010 files and you do NOT require the patch (your problem is somewhere else).
DO NOT INSTALL THE PATCH IF YOUR FILE VERSION IS NOT CORRECT
To install the patch follow instructions in the install post#3 below.
Why is the install so complicated?
The install is complicated since the tab control file contains references to each available tab on your device. Every ROM has a different combination of tabs available and so this file is different for each ROM. If you install a copy of the Tab Control file which includes tabs which aren't on your device, manila will not work, if you install one which doesn't include all the tabs on your device, those tabs won't be available any more.
Many many people have managed to install the tab, through various ways, so there are plenty of people here who will help you out. Obviously make sure you have plenty of time available, just in case. Please keep backups of your tab control file (26948339_manila) as this will help you if you run into trouble.
Can we cook this in a ROM?
Yes, files will hopefully be provided for that within the thread (and I am happy for it to be included).
If you don't know what to do with EXT files (like me) then don't use them!
See the original poster for latest info:
b16b's [Facebook Tab v1.6 EXT]
File attached to this post too.
birkoffsjunk's Alternative:
birkoffsjunk [FacebookTab1.6.7z]
Install
Problems with sense not starting, try using SenseUtil to add/remove the tab without manually editing the tab control file.
Moved to this post (from 1st post):
meltwater HTC FbTab v1.6.cab (3.32 MB, 7583 views)
Manual Install v1.6 05Aug2010.zip [v1.6Release05Aug2010.zip (3.25 MB, 9095 views)]
Sections within this post:
Please ensure you follow the instructions from the correct section.
Dual Cab Install (using SenseUtil) Instructions:
Dual Cab Install/Un-Install using Separate Cabs [meltwater_FbTabV1.6(SeperateCabs)-2.zip]
Dual Cab Un-Install using Separate Cabs [meltwater_FbTabV1.6(SeperateCabs)-2.zip]
Dual Cab Upgrade using Separate Cabs [meltwater_FbTabV1.6(SeperateCabs)-2.zip]
FAQ: My ROM shows double tab icons when selected
Note:
The following instructions are for the other install methods, it is hoped that the Easy Cab Install should work for everyone. If that is shown to be the case then the other methods will be removed.
Captain Throwback's Cab Install Instructions:
Captain Throwback's Cab Install
Captain Throwback's Cab Un-Install
Sense 2.5.19XX Instructions:
Use v1.6 Manual 192x Patch Install Instructions below.
Manual Install/Un-install Instructions:
v1.6 Manual New Install Instructions
- Follow these instructions to manually install the tab on sense 2.5 (but not including sense version 2.5.19xx) which does not already have the facebook tab.
v1.6 Manual 192x Patch Install Instructions
- Follow these instructions to manually apply the patch to the install for 192x based systems (follow check to ensure which version you have)
v1.6 Manual Upgrade v1.5 Instructions
- Follow these instructions to manually upgrade the existing v1.5 facebook tab to the current version
v1.6 Manual Upgrade v1.0 Instructions
- Follow these instructions to manually upgrade the existing v1.0 facebook tab to the current version (again this does not include sense version 2.5.19xx).
v1.6 (& v1.5) Manual Un-install Instructions
- Follow these instructions to manually remove the facebook tab from sense.
Problems?
Manila Sense Fix - Sense is not starting after install/uninstall
Reset Manila Sense - Sense didn't regenerate correctly
Cooking issue - Exception when running facebook.exe for the 1st time
Missing menu items after upgrade
Please note:
If you are editing the tab control file (26948339_manila) or language files, it is recommended you use an editor which supports the following format:
Line Endings:Unix(LF)
Encoding:UTF-16 Little Endian
Editors such as Programmers Notepad and Notepad2 appear to work well.
Dual Cab Install (using SenseUtil) Instructions:
- Standard Cab for SenseUtil and a Cab for the Tab files (placed together in a single zip file).
Remember: Backup your device and data before attempting this mod. Post if you have any problems.
Dual Cab Install using Separate Cabs [meltwater_FbTabV1.6(SeperateCabs)-2.zip]
INSTALL:
a) Install both Cabs, in no particular order.
b) Run SenseUtil from Start Menu\SenseUtil\AddTab\SenseUtil FbTab Add to Add the FbTab to Sense.
Dual Cab Un-Install using Separate Cabs [meltwater_FbTabV1.6(SeperateCabs)-2.zip]
UNINSTALL:
a) Run SenseUtil from Start Menu\SenseUtil\RemoveTab\SenseUtil FbTab Remove to Remove the FbTab from Sense.
b) You can now uninstall the FbTab cab, and if desired, the SenseUtil cab too.
Note: As the references in sense have been removed, the files will have no effect on sense anymore.
c) The remaining registry entries can also be manually removed from HKEY_CURRENT_USER\Software\HTC\Manila all of which will start with "Facebook.".
Dual Cab Upgrade using Separate Cabs [meltwater_FbTabV1.6(SeperateCabs)-2.zip]
UPGRADING (note there is nothing different to v1.6):
If you already have the tab installed, then you can use either cab package, however instead of Adding the tab, you will need to "Reset Sense" - Del ManilaFull.xml either from SenseUtil or manually (stop sense, delete the file from windows and restart sense).
FAQ: My ROM shows double tab icons when selected (typically applies to NRG ROMs)
A: Delete or rename 1F04C842_manila in windows, this file is not required for your ROM. You will then need to "Reset Sense".
B]Latest version of Sense Util is available here
Captain Throwback's Cab Install Instructions:
Captain Throwback's Cab Install
Disable Sense from Today items.
Install CAB [Attached to post#1 - meltwater HTC FbTab v1.6.cab] (this will create a shortcut to "FixStartManila" in your Start Menu)
Tap "FixStartManila" to run it. It will likely seem like nothing happened.
Tap "FixStartManila" a second time. This time, you will likely see the wait cursor, which will stay for 10 seconds or so.
Re-enable Sense in Today items.
Done!
Please make sure you follow the instructions for the cab, and particularly if you uninstall (there are extra steps need afterwards compared to a normal cab).
Captain Throwback's Cab Un-Install
To Uninstall:
Disable Sense
uninstall the CAB
run "T-Back Remove Facebook Tab.cab" (Attached to this post) to restore Sense to it's original state (either that ,or you can download FixStartManila from the GPS Tab thread see Manila Sense Fix section below)
When you re-enable Sense, you should be without FB tab (note that if you've installed other tabs since flashing your ROM, they will not show up using my CAB - in that case, I recommend MoonNah's CAB).
Manual Install/Un-install Instructions:
v1.6 Manual New Install Instructions
Warnings etc
Modifying manila means various levels of messing around with the files on the device so, as with most of the mods on here, back-up often and be prepared to screw it up and hard-reset your device. All the changes explained here may or may-not work on your particular device/version of manila or perhaps it's just not going to happen today.
ONLY USE THIS METHOD IF YOU DO NOT HAVE THE TAB ALREADY INSTALLED.
If you do not have the tab installed then you shall need to ensure the tab control file is updated correctly to allow sense to include it.
Download the manual install package from post #1.
Disable sense, via the Settings\Home\Today items.
Delete "\\windows\manilaFull.xml" on your device (don't worry this is regenerated when manila restarts).
Extract the files from the folder "TabFiles\Windows\" to the windows directory on your device. Plus ensure you copy "Facebook_Pages.xml" to "\Windows\ManilaXml".
Update your tab control file (26948339_manila) from \Windows folder:
The files may be hidden system files (may need to enable viewing of system hidden files to find them). Keep an original copy of your 26948339_manila file (i.e copy as 26948339_manila_backup).
Scott8813's tutorial show's the steps required to edit the tab control file in more detail if you are unsure on this (http://forum.xda-developers.com/showpost.php?p=6004802&postcount=216)
Edit your tab control file (26948339_manila) from your \windows\ directory (you can use the example in the zip file \tabcontrol\ as a guide, use a UTF-16 Compatible Editor such as Notepad2 or Programmers Notepad.
a) Insert the following text, between the other "pages" defined, replacing the X with suitable number (re-numbering the others as required to avoid duplicated numbers):
Code:
<Page Order="X" Name="facebook.page" PackageName="HTC" Title="[[Facebook]]">
<ComponentReference Name="page" Mode9Path="HTC\People\facebook.mode9" Component="SummaryAllPage" SmartComponent="true"/>
<ComponentReference Name="icon_normal" Mode9Path="HTC\Manila\Facebookicon.mode9" Component="Facebook_Off"/>
<ComponentReference Name="icon_selected" Mode9Path="HTC\Manila\Facebookicon.mode9" Component="Facebook_On"/>
<ComponentReference Name="icon_preview" Mode9Path="HTC\Manila\Facebookicon.mode9" Component="Facebook_Preview"/>
</Page>
b) Copy back completed file to your device \windows\ directory
Delete the configuration reg-key HKLM\Software\HTC\Manila\Configuration (this resets the tab list and allows the new tab to be included in the tab re-ordering page of the settings tab - the keys only re-generate when you go back to that tab re-ordering page)
Import the registry entries from appFacebook.reg file into your devices registry.
Note: You may need adjust the default path settings for the example application links etc to match the applications you have installed and their locations.
Extract the "FacebookUtil" folder to "Program Files\FacebookUtil" (I would recommend on your device rather than storage card).
Run "FacebookUtil.exe", from where you've copied it to and Update the Facebook Utility's "Stored Path to Current" within the "File Path Settings" page, and "Apply" the change.
Re-enable sense, via the Settings\Home\Today items (it will take a little longer than normal to re-start the 1st time).
Enjoy. (Don't forget to authorise to allow Updating of your status).
v1.6 Manual 192x Patch Install Instructions
There are two versions of the files which drive this tab, the tab is based on the later one. So if the tab does not work after you install it you may have the older version...
Check the version of the files you have:
- Locate 0de73b01_manila in your windows folder.
IF the filesize is around 41Kb then you have the older 192x files and you require the patch.
IF the filesize is around 47Kb then you have the newer 2010 files and you do NOT require the patch (your problem is somewhere else).
DO NOT INSTALL THE PATCH IF YOUR FILE VERSION IS NOT CORRECT
Patch the install:
Install the tab as normal (see above - via cab or manually).
Download the attached zip file:
192xFbTabPatchRelease
Disable sense
Replace the 090EF4F3_manila in the windows/ folder with the one in the zip file.
Replace the Facebook_Pages.xml in windows/ManilaXml/ folder with the one in the zip file [note this file is universal so later releases will include the updated version of this file already].
Delete manilafull.xml from the windows/ folder.
Restart sense.
To un-install follow the same instructions as for v1.6 normal installation.
Note:
Not all the functions of the normal tab are available in this version (i.e. Expand/Collapse View has been removed).
v1.6 Manual Upgrade v1.5 Instructions
Warnings etc
Modifying manila means various levels of messing around with the files on the device so, as with most of the mods on here, back-up often and be prepared to screw it up and hard-reset your device. All the changes explained here may or may-not work on your particular device/version of manila or perhaps it's just not going to happen today.
ONLY USE THIS METHOD IF YOU HAVE THE TAB ALREADY RUNNING WITHOUT PROBLEMS.
With the previous facebook tab working and running properly, updating to the new version can be achieved by following these instructions:
Disable sense, via the Settings\Home\Today items.
Replace the following files:
Lang Files(\windows\):
1FED11F0_manila
3abb2ec0_manila
781C9850_manila
Script Files(\windows\):
090EF4F3_manila
33A980DD_manila
FacebookUtil Application (\Program Files\FacebookUtil\):
FacebookUtil.exe
.
Update reg entry/setting for Desktop Online Link:
[HKEY_CURRENT_USER\Software\HTC\Manila]
"Facebook.LaunchWeb2"="www.facebook.com/home.php?m2w"
Delete "\\windows\manilaFull.xml" on your device (don't worry this is regenerated when manila restarts).
Re-enable sense, via the Settings\Home\Today items (it will take a little longer than normal to re-start the 1st time).
v1.6 Manual Upgrade v1.0 Instructions
Warnings etc
Modifying manila means various levels of messing around with the files on the device so, as with most of the mods on here, back-up often and be prepared to screw it up and hard-reset your device. All the changes explained here may or may-not work on your particular device/version of manila or perhaps it's just not going to happen today.
ONLY USE THIS METHOD IF YOU HAVE THE TAB ALREADY RUNNING WITHOUT PROBLEMS.
With the previous facebook tab working and running properly, updating to the new version can be achieved by following these instructions:
Download the manual install package from post #1.
Disable sense, via the Settings\Home\Today items.
Extract the files from the folder "TabFiles\Windows\" to the windows directory on your device. Plus ensure you copy "Facebook_Pages.xml" to "\Windows\ManilaXml".
Delete "\\windows\manilaFull.xml" on your device (don't worry this is regenerated when manila restarts).
Extract the "FacebookUtil" folder to "Program Files\FacebookUtil" (I would recommend on your device rather than storage card).
Run "FacebookUtil.exe", from where you've copied it to and Update the Facebook Utility's "Stored Path to Current" within the "File Path Settings" page, and "Apply" the change.
Re-enable sense, via the Settings\Home\Today items (it will take a little longer than normal to re-start the 1st time).
Enjoy. (Don't forget to authorise to allow Updating of your status).
v1.6 (& v1.5) Manual Un-Install Instructions
Warnings etc
Modifying manila means various levels of messing around with the files on the device so, as with most of the mods on here, back-up often and be prepared to screw it up and hard-reset your device. All the changes explained here may or may-not work on your particular device/version of manila or perhaps it's just not going to happen today.
The easiest and safest option is to simply disable the tab via Settings, Home Screen Tabs. This will stop the tab being run and will have no further impact on sense.
In order to remove all the facebook tab related stuff you will need to follow all the steps:
Disable sense, via the Settings\Home\Today items.
Edit your tab control file to remove the following section of code (be sure to renumber the items). Or simply replace the tab control file (26948339_manila) with the backup you made before you installed the tab.
Code:
<Page Order="X" Name="facebook.page" PackageName="HTC" Title="[[Facebook]]">
<ComponentReference Name="page" Mode9Path="HTC\People\facebook.mode9" Component="SummaryAllPage" SmartComponent="true"/>
<ComponentReference Name="icon_normal" Mode9Path="HTC\Manila\Facebookicon.mode9" Component="Facebook_Off"/>
<ComponentReference Name="icon_selected" Mode9Path="HTC\Manila\Facebookicon.mode9" Component="Facebook_On"/>
<ComponentReference Name="icon_preview" Mode9Path="HTC\Manila\Facebookicon.mode9" Component="Facebook_Preview"/>
</Page>
Delete "\\windows\manilaFull.xml" on your device (don't worry this is regenerated when manila restarts).
Delete the configuration reg-key HKLM\Software\HTC\Manila\Configuration (this resets the tab list and allows the new tab to be included in the tab re-ordering page of the settings tab - the keys only re-generate when you go back to that tab re-ordering page)
Delete the following files from "\\windows\":
05FF1072_manila
06C09C86_manila
090EF4F3_manila
1F04C842_manila
33A980DD_manila
4F90441E_manila
51B6F88A_manila
59B632C0_manila
5D4F2200_manila
6BEE887F_manila
(Plus the language files you might have installed:
0CA4B866_manila, 0FEAB434_manila, 1FED11F0_manila, 3abb2ec0_manila, 5E0EA458_manila, 6CD727C8_manila, 0074c4d4_manila, 0431A004_manila, 781C9850_manila, 5470CE36_manila, 35452D58_manila)
Delete the following files from "\\windows\ManilaXml":
Facebook_Pages.xml
Delete the "FacebookUtil" directory from "\\Program Files\" or where-ever you installed it.
Using a registry editor, you can safely delete the following entries (although they will do no real harm if left there):
[HKEY_CURRENT_USER\Software\HTC\Manila]
"Facebook.LaunchAppSel"
"Facebook.LaunchAppNameXX"
"Facebook.LaunchAppXX"
"Facebook.LaunchAppArgsXX"
"Facebook.LaunchWebSel"
"Facebook.LaunchWebNameXX"
"Facebook.LaunchWebXX"
"Facebook.LaunchWebArgsXX"
"Facebook.LastUpdateTime"
"Facebook.LastUpdateDate"
"Facebook.MyStatus"
"Facebook.MyStatusExe"
"Facebook.MyStatusScript"
"Facebook.AutoUpdateInterval"
"Facebook.AccessToken"
"Facebook.AccessTokenPermission"
"Facebook.ExpandView"
"Facebook.FbApiExe"
"Facebook.FileDialogLastPath"
"Facebook.LangFile"
Note: Some "Facebook.xxxxx" entries will remain (they are also used by the people update tab, so I would recommend you keep them).
Re-enable sense, via the Settings\Home\Today items (it will take a little longer than normal to re-start the 1st time).
If sense does not start, double check your tab control file (26948339_manila) edit and perform steps 1, 3, 9 again. Otherwise, refer to "Manila Sense Fix" section below.
Problems?
Unable to authorise?
Facebook has altered the authorisation slightly, so manual paste method needs a little extra care (details here - Thanks to Nullstring).
Basically, facebook has added "#_=_" at the end, which you must remove for the app to extract the required authorisation code from the rest of the url.
Manila Sense Fix - Sense is not starting after install/uninstall
If you run into problems with Sense not starting then there are three things you can do.
1. Run moonnah's B_L_Group_FixStartManila_2.5.cab from the following thread (this should fix any problems with your tab control file):
http://forum.xda-developers.com/showthread.php?t=670116
2. Delete the tab control file (26948339_manila) & "\\windows\manilaFull.xml" and restart your device. Sense will take a while to regenerate so please wait.
3. Post your tab control file (26948339_manila) on the thread and we shall correct any problems and repost it.
Reset Manila Sense - Sense didn't regenerate correctly
Disable sense, via the Settings\Home\Today items.
Delete "\\windows\manilaFull.xml" on your device (don't worry this is regenerated when manila restarts).
Delete the configuration reg-key HKLM\Software\HTC\Manila\Configuration (this resets the tab list and allows the new tab to be included in the tab re-ordering page of the settings tab - the keys only re-generate when you go back to that tab re-ordering page)
Re-enable sense, via the Settings\Home\Today items (it will take a little longer than normal to re-start the 1st time).
Cooking issue - Exception when running facebook.exe for the 1st time
This can occur if the ROM includes an older version of the senseSDK dlls than the ones used by the exe (v1.39) - typically CHTE.
Ensure you only have the latest versions of the following files (provided by with the tab):
sensesdk.resources.qvga.dll
sensesdk.resources.vga.dll
stedysoft.sensesdk.dll
Missing menu items after upgrade
Right-hand menu should include the following items:
NEW - Update Status
Facebook App
Facebook Online
NEW - Expand/Collapse View
Settings
If they aren't shown up, ensure you have followed the steps which reset Sense correctly (2,4 & 7 of Manual Upgrade Instructions).
Language Files
Language Files
This release requires updated language files (mainly to support the settings pages).
Please note:
If you are editing the tab control file (26948339_manila) or language files, it is recommended you use an editor which supports the following format:
Line Endings:Unix(LF)
Encoding:UTF-16 Little Endian
Editors such as Programmers Notepad and Notepad2 appear to work well.
To create a language file you need to determine the manila name (using ManilaHash.exe (part of the Manila kitchen package), file-names are listed below):
1. Make a copy of the original base file for your language, with the correct language manila filename.
2. Look at the Facebook tab specific files and add the new entries, with translations as you wish (Make sure you use UTF-16 Compatible Editor)
Sense requires the following file format:
Line Endings:Unix(LF)
Encoding:UTF-16 Little Endian
3. Upload to this thread, and it will be added to the list.
[Note:The tab name "Facebook" is specified in the Tab Control file (26948339_manila), since it didn't appear to be set correctly via the language file, but can change it there if you wish.]
Facebook Language Files already created (v1.6 updated or available for V1.01 but now require updating):
Facebook..................PeopleUpdate.......LangCode
35452D58_manila.......7825aca6_manila en-gb (v1.6)
6CD727C8_manila.......035dc316_manila nl-nl (mike2nl v1.6)
3abb2ec0_manila.......2f75480e_manila fr-fr (romualdrichard v1.6RevB)
0CA4B866_manila.......367aeb34_manila cs-cz (jirkab v1.6)
0074C4D4_manila.......3d740322_manila it-it (etoy & Drakknar v1.6)
5470CE36_manila.......40d6f504_manila en-us (captain_throwback v1.6)
1FED11F0_manila.......441d773e_manila pt-pt (dotcompt v1.6)
781C9850_manila.......1c29959e_manila pt-br (dotcompt v1.6)
24a3de40_manila.......58a5d78e_manila es-es
0431A004_manila.......65252a52_manila de-de (BeeGee_Tokyo v1.6)
0FEAB434_manila.......6868ca82_manila el-gr (colossus_r v1.6)
44D8781A_manila.......730337e8_manila nb-no (agaPer v1.6 - Attached)
5E0EA458_manila.......7044e3a6_manila sk-sk (pa3x v1.6)
55D8F302_manila.......1367acd0_manila sv-se
1A673DD0_manila.......4e699b1e_manila pl-pl (Skrobel v1.6)
6A5D7454_manila.......66a492a2_manila hu-hu (zoliwr v1.6 draft - Attached)
7E83165A_manila.......14f76628_manila zh-tw (mudhi v1.6 - Attached)
4E2DE27C_manila.......5ddfcaca_manila ru-ru (Bumeranghc v1.6 - Attached)
Facebook Language Files still need creating:
Facebook.................PeopleUpdate LangCode
4A098364_manila.......0598e5b2_manila ro-ro
6729ABA8_manila.......5a90a336_manila es-es_tradnl
017A1F4A_manila.......2c2c2b18_manila ja-jp
46FB4326_manila.......38da25f4_manila zh-cn
79ABC8F8_manila.......3cc83046_manila tr-tr
7BAB7AC8_manila.......401ed616_manila da-dk
193074C2_manila.......57fd9e90_manila fi-fl
0F3D0AEE_manila.......6be21fbc_manila ko-kr
6D71ED18_manila.......6f505c66_manila ca-es
15EBBB0E_manila.......78d5d7dc_manila ar-sa
V1.01 Translations (many thanks)
German manila files (thanks bl4ckb1rd)
Spanish manila files (thanks Hubie)
French manila files (thanks Fredz)
Czech manila files (thanks jirkab)
Italian manila files (thanks etoy)
?Zh-Tw? manila files (thanks boa19861105)
?pt-pt? manila files (thanks dotcompt)
Norwegian manila files (thanks KaiserAndy)
Dutch manila files (thanks mike2nl)
Greek manila files (thanks colossus_r)
Language File Example (Lang.zip)
Just use the following file from your \windows\ folder:
441D773E_manila \windows\htc\people\locales\pt-pt\peopleupdate.pt-pt.xml
Then rename to:
1FED11F0_manila \windows\htc\people\locales\pt-pt\facebook.pt-pt.xml
Then add the entries (plus the extra ones for v1.6 - see attached en-gb file):
Code:
<trans-unit id="IDS_FACEBOOKTITLE">
<source>Facebook</source>
</trans-unit>
<trans-unit id="IDS_FACEBOOK_OPENAPP">
<source>Facebook App</source>
</trans-unit>
<trans-unit id="IDS_FACEBOOK_OPENWEB">
<source>Facebook Online</source>
</trans-unit>
Then copy back to your \windows\ folder (and post on this thread).
When people have performed translations, I'll post up the completed files here.
Note:
Completed language files will get included in any installs/updates where possible.
Currently included languages for v1.6:
(en-gb,en-us,nl-nl,fr-fr,de-de,pt-pt,pt-br,cs-cz,it-it,el-gr,sk-sk,sv-se)
+ no-nb & pl-pl & zh-tw & hu-hu & ru-ru
Currently included languages for v1.01:
(en-gb,en-us,de-de,pt-pt,es-es,fr-fr,cs-cz,it-it,zh-tw,no-nb)
Thanks, I will give this baby a test ride...
Second Post from me
Many Thanks man I will try tonight and share my results.
Congratulations
Works on the NRG MM MAR 20 23548(9) - followed instructions to the letter (although you haven't explained when to transfer over the modified manila tab control file!)
Will keep you posted on any issues!
Thanks
rlatarche said:
Works on the NRG MM MAR 20 23548(9) - followed instructions to the letter (although you haven't explained when to transfer over the modified manila tab control file!)
Will keep you posted on any issues!
Thanks
Click to expand...
Click to collapse
Ok, zip and install post updated.
meltwater said:
This is my facebook tab, ...
To Do - if Possible
Read and understand the above information before asking for features, but this is what I still hope to do (again don't post asking for them if it's on this list!).
Directly update own status
Allow view of full status text, either bigger space, expand on selection or ticker tape
Update settings page to include things set in registry (Auto Update time etc)
Links to albums
Replacement of mortscript with an exe file (with thanks to johncmolyneux)
Click to expand...
Click to collapse
This is a great idea, don't know why HTC decided to do their facebook integration the way they did and not treat Twitter the same way (using the people tab). Couldn't you hook into the data and functions of the facebook tab from HTC's interface and not require mortscript/external exe?
jneilliii said:
This is a great idea, don't know why HTC decided to do their facebook integration the way they did and not treat Twitter the same way (using the people tab). Couldn't you hook into the data and functions of the facebook tab from HTC's interface and not require mortscript/external exe?
Click to expand...
Click to collapse
It's a limitation of what is in manila, you can only read from "HKCU\Software\HTC\Manila", unless you are only after a int value.
All the script does (or exe), is the following:
Code:
RegReadString("HKLM", "Software\HTC\FacebookSDK","Status",myStoredStatus)
RegWriteString("HKCU","Software\HTC\Manila","Facebook.MyStatus",myStoredStatus)
Not all the facebook function is within the manila files, some appears to be within ContactEditor.exe which only takes two different arguments from the scripts to get to new/specific Contact Detail Pages, then its internal to the ContactEditor.exe from there (that appears to also include "Update My Status"! ).
Not saying it can't be done, but it's a simple workaround to release it today.
Hmmmm for some reason, I cannot make this to work with my manila2.5_20121324 version...still playing with this...so we will see..thanks for your effort.
Got it installed all ok, but when I go onto the tab it crashes and freezes sense, have to restrat to get control back, but if i go onto the tab again, does the same.
ai6908 said:
Hmmmm for some reason, I cannot make this to work with my manila2.5_20121324 version...still playing with this...so we will see..thanks for your effort.
Click to expand...
Click to collapse
Ok, let me know what happens, I'm only 2.5.2012.1224, don't know what changes are in the people tab since then.
MalekoUK said:
Got it installed all ok, but when I go onto the tab it crashes and freezes sense, have to restrat to get control back, but if i go onto the tab again, does the same.
Click to expand...
Click to collapse
Ok will try to remember if/why it occurred for me during development, 1st thought is error in your tab control file. Perhaps post your ManilaFull.xml file after sense has loaded/generated it.
What version of sense are you running?
EDIT:Are reg settings imported?
meltwater said:
Ok will try to remember if/why it occurred for me during development, 1st thought is error in your tab control file. Perhaps post your ManilaFull.xml file after sense has loaded/generated it.
What version of sense are you running?
Click to expand...
Click to collapse
manila 2.5.1920
Working with "Manila 2.5 20121225.0_VGA_Amarullz
I have just started to play now. I will post more picture for other users within one hour, for sharing
But somehow, I can not able to see any items at the tab, just like you have at first picture. "Update now" Button seems to be not working properly.
Many Many Thanks Again
mkucuksari said:
Working with "Manila 2.5 20121225.0_VGA_Amarullz
I have just started to play now. I will post more picture for other users within one hour, for sharing
But somehow, I can not able to see any items at the tab, just like you have at first picture. "Update now" Button seems to be not working properly.
Many Many Thanks Again
Click to expand...
Click to collapse
Have you got any people linked? You've got lots of status icons, I think the hand one is to link people.
Have a look in your people tab -> updates & events tab at the end (this is the source page!), if you don't have people in there you won't anywhere.
The "update now" button is just moved, from menu in the source page, so check it there.
EDIT: Thanks for the screen, appears to be ok for VGA devices too!
Working perfect!
Thanks for your effort mate
Gonna start again later on, start from fresh and see what happens.
MalekoUK said:
Gonna start again later on, start from fresh and see what happens.
Click to expand...
Click to collapse
No worries, should be ok if you disable the tab via settings for now.
Hello,
I present my second Windows Mobile app:
SettingsExporter – I think the name is self-explaining. I tried to develop an easy to use application able to backup the vital system/user/programs settings and parameters to a .reg file, which enables the user to quickly restore the settings after a flash or HR.
Yes, we already have the fantastic fdcTaskManager from dotFred but this one exports either single registry key (with all the values and subkeys) or whole registry. My tool is able to store:
- single registry value
- several registry values in one key
- all the values of a key but without subkeys
- values which names start with a certain string
- values which names end with a certain string
- values containing certain string
- whole key with all subkeys/values
The last point is realized with a help of already mentioned fdcTaskManager under permission from dotFred (thank you Man!).
Program features/requirements:
- supports AppToDate
- requires NetCF 3.5 to be installed in your ROM.
- the app is partially dependent on the TaskManager from DotFred. A file called dotTaskMgr.exe should always be placed in program folder. Of course it is included in the download files.
- the program can run from any folder on both device memory or Storage Card. You don't even have to install it (that's why I included also a zip archive with all the files), you can just run it from the actual location. However the installation cab includes also program shortcuts (they appear in Start Menu) and files neccessary for AppToDate.
- REMARK: Because of .NetCF limitations the program cannot parse some of the value kinds, like REG_MUI or REG_QWORD however these types are used in so deep system settings that I wouldn’t even try to touch, so from this point of view they are not necessary for normal user customization purposes.
REMEMBER: never play with registry unless you know what you are doing. Always make backup of your data before you start to edit any registry values.
I spent many nights on testing this app and on choosing the settings worth exporting so everything should work fine (I made at least 10 flashes in the mean time and didn’t discover anything suspisious). However I cannot be held responsible for any damages to your ROM/device.
Below you can find my screenshots and download.
In following posts you can find also:
Program description - post #2
INI file syntax and notes - post #3
Description of default .ini files - post #4
How does it work?
Currently the SettingsExporter is basically a registry parser reading thru one (or more) of three config files (keys_....ini) in which the user puts keys/values that are supposed to be backed-up. For each line which is recognized as a registry value the program tries to gather it from the registry and writes to a (specified) text file as Microsoft Registry Entries (.reg) syntax. If the line is not recognized as a correct registry key/value or if it does not exist in the device’s registry, it is simply ignored.
Following the tip from Jackos (thanks Man!) there can be three config (.ini) files:
- keys_System.ini
- keys_Manila.ini
- keys_Other.ini
The user can choose to process one, two or all three .ini files. He can also choose if all the entries from the checked .ini files should be stored in one .reg file or the program should create one .reg file for each .ini file. This way we can divide our backup into groups and then restore them on different ROM (e.g. with different version of UI).
The main screen of the program consists of 5 main elements:
- “Current file path” text box with current path and name of the destination file. The path is initially set to \Storage Card\Backup\MyBackup.reg, but it can be changed either directly in this text box or using “Change File Name” button which opens the SaveFileDialog allowing you to choose a location and name for your destination file. Unfortunately the native .NetCF SaveFileDialog is poor and allows only to save in 2 folders depths, so this is the reason why I left the text box unlocked to allow manual editing of the path. Additionally when closing SettingsExporter saves last used path in registry so when you open it for the second time the initial path will be “yours”. This feature can be switched off in options.
- 3 checkboxes allowing you to choose which .ini files the app should process
- Save File button starting the Backup procedure
- Menu softkey allowing you to change the program options
- Exit softkey that (surprisingly) closes the application.
The Options screen (you can open it via Menu -> Options) is also very simple:
- Save all settings in one file – when you tap “Save File” all the .ini files which are “checked” in the main window will be processed and the effect will be saved in one file mentioned in the “Current file path” text box in the main window.
- Save in separate files – the “checked” .ini files will be processed but this time the effects will be stored in separate files. There will be separate destination files created basing on the same file name from the “Current file path” text box, but with appropriate suffix, so using the default MyBackup.reg file name, the destination files will be MyBackup_System.reg, MyBackup_Manila.reg, MyBackup_Other.reg.
- Backup previous output files – if any of the output (destination) files already exists it will be copied with “_old” suffix before writing new file.
- Associate Reg Files to fdcTM – this button associates the files with .reg extension to the fdcTaskManager which is located by default in the program directory. From this point on you can tap on a .reg file in File Explorer and it will be automatically imported to the registry. Use this function to easily restore your .reg files.
- Save last backup path – this option enables saving last used backup (destination) path upon program exit. Remember – the path is written to registry when you close the program. So if you configured the .ini file to store also SettingsExporter’s settings (stored in HKCU\Software\Skrobel\SettingsExporter) and you want to backup also this setting, you have to set the file path in the Main Window, then Exit the program (to write the path to registry) then open the program again and now you can press “Save File”.
ini files requirements
The .ini file should be a Unicode text file stored in the same folder that the program executable is stored. The names of the file must be exactly one of the names mentioned above (keys_System.ini, keys_Manila.ini, keys_Other.ini). Of course the “keys_Manila.ini” file is not reserved ONLY for values connected with Manila/HTC and the “keys_System.ini” doesn’t need to contain ONLY system settings. It’s my proposal for the entries grouping, but you can change the contents according to your own needs. Only leave the file names intact.
About the syntax:
I tried to make the syntax of these .ini files as simple as possible. So it’s really similar to the syntax of a normal .reg file, exctept it does not need a “REGEDIT4” nor “Windows Registry Editor Version 5.00” at the beginning and of course the values cannot be given next to the valuenames. Here are some examples of the content of an ini file:
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\WIDCOMM\Connections]*
[HKEY_LOCAL_MACHINE\nls\overrides]
*
[HKEY_CURRENT_USER\Software\Microsoft\Inbox\Settings]
"SMSDeliveryNotify"
"SMSAvailable"
"SMSUnicode"
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\QuickGPS]
actSync
auto
roaming
[HKEY_CURRENT_USER\SOFTWARE\HTC\MANILA]
Manila://*
"Weather*"
*Co0kie*
*Enabled
And what does it mean?
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\WIDCOMM\Connections]*
It means that the specified key will be stored with all it’s values and subkeys (if there are any).
Code:
[HKEY_LOCAL_MACHINE\nls\overrides]
*
This one means that all the values under the [HKEY_LOCAL_MACHINE\nls\overrides] will be stored but without any subkeys.
Code:
[HKEY_CURRENT_USER\Software\Microsoft\Inbox\Settings]
"SMSDeliveryNotify"
"SMSAvailable"
"SMSUnicode"
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\QuickGPS]
actSync
auto
roaming
In these two cases only the mentioned values will be stored from the specified key.
Code:
[HKEY_CURRENT_USER\SOFTWARE\HTC\MANILA]
Manila://*
"Weather*"
*Co0kie*
*Enabled
And this is an example of using regular expressions.
Manila://* - means that all the values with names starting with “Manila://” will be saved
*Enabled - means that all the values with names ending with “Enabled” will be saved
*Co0kie* - means that all the values with names containing “Co0kie” will be saved
As you can see the quotes are ignored so you can put valuenames with or without them and it will not make any difference for the parser.
The current version of the program includes my .ini files that are a result of long and careful tests and save most of the configuration of WM6.5 and WM6.5.x. I created these .ini files on HTC Rhodium and different Jackos ROMs. Most of them should work on a variety of HTC devices, however I've already seen that many settings for HTC Kaiser is stored in different locations than on Rhodium. But as I wrote before: if a registry key/value mentioned in the .ini file is not found in the actual registry, it will not be stored in any form.
On the other hand some of the key names may not work or not exist on different devices/ROMs. Especially when you try to restore a bunch of settings taken from a Sense 2.5 ROM on a Titanium or CHome ROM, you should expect some problems. That’s where grouping comes in handy.
If you have ideas for other registry values which should be backed-up by default or settings for popular third party programs I don’t use, please share key/value names here with a short description of what the values mean. I will put them in the default .ini files so other users can benefit from them.
What settings are included in default .ini files
keys_System.ini
In this file I included many settins which are changed via standard Windows Mobile Control panel applets and a bit from Advanced Config:
- notifications settings (remember - when you restore these settings after a flash, you have to make sure your ringtones and sound files must be in the same places that they were during backup)
- locale/time zone information (no language specific settings, only message coding, date/time/number formats, locale and time zone)
- messaging settings like threading, delivery report, unicode etc.
- paired Bluetooth devices
- owner information
- volume settings
- screen off/suspend timeouts
- some phone/dialer settings
- Font size/Clear type
- basic ArcSoft MMS settings
- last used profile
- clock/alarm settings
- AGPS
- hardware button assignment (only Long Press Send Key on Rhodium)
- Long Press EndKey action
- some other settings like noise reduction, AGC, USB to PC and less important parameters
Click to expand...
Click to collapse
keys_Other.ini
In here I stored some of the third-party applications I use. Please propose other applications with their settings and I'll add them:
- PimBackup
- HTCAccountManager
- Palringo
- Total Commander
- RSS Hub
- SK Tools
- Spb Backup
- cleanRAM
- Skype
- ultrashot UTask
- Quick Shutdown
- QuickGPS
- Whip2Snap
- last but not least - own SettingsExporter settings
Click to expand...
Click to collapse
keys_Manila.ini
Manila has many versions with extremely different settings and behaviours so I tired to store ONLY the most basic settings which should work on all the manila versions (correct me if I am wrong):
[HKEY_CURRENT_USER\SOFTWARE\HTC\MANILA]
HomeBackgroundPath - self explaining
AnimationWallpaperFolder - default folder for "choose background" option
Home.WallpaperMode - setting connected to full screen weather animation
Manila://* - this allows to store the configuration of showed/hidden Sense tabs
"Weather*" - settings for Manila weather
Of course I could add here all CHT settings, but there are also different versions of CHT on the "market" so I personally prefer to use CHT Editor backup/restore functions than to try to make universal backup utility for Co0kie settings. But if you guys have some hints on this topic I appreciate any help.
Click to expand...
Click to collapse
I will try to post here detailed description of all the values I know and will try to add here all suggestions from the community. But this unfortunately depends on my free time...
this is post #5
post #6 just in case...
Congratulations on your release I'll try and report back soon!
Looks great.........
oh thanks a lot! i like to play a lot with co0kie home tab 2.0 and also with the registry so it will be very useful to save some lines of a reg key. In CHT 2.0 all setting are in hkcu/software/htc/manila/CHT.*** (also CHTE.*** and CHTI.***) and i would like to save registry setting like CHT.Tweaks.***
I will try and report back later. Thanks again!
c_shekhar said:
Looks great.........
Click to expand...
Click to collapse
It looks ****, but works great
Jackos, you always know something good to say.
Good morning Skrobel,
Once again thank you for taking the time to develop this application. Sorry I didn't get back to you earlier. I had technical difficulties.
Following our recent conversation I'm posting below my findings about version 0.1 beta.
Pros:
Easy, intuitive UI
3 customizable registry patterns for different settings
A lot of 3-rd party software patterns
Thought-out set of settings
Cons:
90's looking UI
No support for exporting Twitter and Youtube Account Manager settings
Poorly implemented AppToDate support
Partly Sense and CHT support
No way to backup e-mail accounts and signatures (I know it's difficult to assemble)
No file backup at all
No support for all registry types (not really needed through)
I think you will agree that this app still needs further development. In my opinion Sense SDK is good enough to start with.
Yours truly,
Jackos
Hello,
Thank you all for your comments. I plan further development, so whatever you will find, I will at least try to solve.
@Jackos
You deserve special thanks. I don't wan't to defend myself but please remember I am still n00b if about programming And I'd like to comment at least some of your cons:
90's looking UI - I fully agree. This is still on my "to-do" list. Honestly I have already tried to run the Sense SDK from eboelzner (on an early stage of the app) and I just couldn't get the controls to appear on the form. I haven't spent much time on it though as this was not the most important thing to do. And there are only a few controls in this app which are big enough to operate with finger
Poorly implemented AppToDate support - honestly I did it same way as you did for your ROMs I know there is a possibility to download up-to-date cab directly from within the program, but I think the vital thing is to inform the user that something has changed. Nevertheless I will try to improve also here.
No way to backup e-mail accounts and signatures (I know it's difficult to assemble) - yes, you're right. And WiFi settings would also be fantastic to backup. I honestly don't know how to handle it. I did an extensive search among some developers forums and nothing up to now...
No file backup at all - this honestly was not in my plans. I use SettingsExporter in conjunction with PIMBackup in which I have my configuration (stored by the SettingsExporter by the way), and I backup all my files, contacts, messages and calendar within 2 clicks. I don't think any file backup is necessary...
No support for all registry types (not really needed though) - I've seen a tool written using NetCF where (according to the description) it is possible. I will ask the developer for help.
The rest of the "cons" concerns the configuration files which are subject to develop continously and independently on the tool itself. I was kinda hoping that this thread will grow with suggestions of other values of which I don't know and/or I don't use. So whatever you feel should be placed here, please post it hence help to improve for other users.
Skrobel said:
No way to backup e-mail accounts and signatures (I know it's difficult to assemble) - yes, you're right. And WiFi settings would also be fantastic to backup. I honestly don't know how to handle it. I did an extensive search among some developers forums and nothing up to now...
Click to expand...
Click to collapse
There are some encryption algorithms that aren't reverse-able. I have no knowledge with one is used in WinCe so maybe it's not possible at all. You could try to backup settings without including passwords.
I guess we have to ask ultrashot. He knows nearly everything about nearly anything
Skrobel said:
I guess we have to ask ultrashot. He knows nearly everything about nearly anything
Click to expand...
Click to collapse
He's disassembling WM and SE mobile systems since he stopped using chamber pot
Strange, 35 downloads and nobody reported further problems? I don't believe there aren't any.
I dig up the e-mail and WiFi backup, but no real results yet. On the other hand I know how to handle the Sense SDK controls, so the next release will probably have better look as requested. But I don't want it to be the only update, so report guys, report
Runs fine on my Axim X51V running WM6.5. I've been using an old app until now called SettingSavior. And for specific third party apps, if I was able to find a registry entry where the registration key was stored, I used SKTools to create a reg file for that. then I used Shashimi to import cabs and .reg files.
Will explore your app more.
Some suggested other 3rd party apps for setting backup:
Sprite Backup
Galarm
Resco Explorer
Pocket Music
I used similar method to store my settings. I used CeRegEditor to make an "image" of the registry, then I changed my settings (also for third party apps), then I compared the saved image with the current state.
But if you use these programs and you have your setup created with SKTools, could you share it with me? I could check what settings are used for these apps, and update config files with them.
Thanks for creating this useful application ,I use this application, PIMBack-up and XDA_UC_NET - portable to fully automate the restore. Now a Hard reset or ROM update is a breeze.
Regards [email protected]
I have got a small local network:
• A router not connected to the Internet
• 20 tablets that connect to it
• a computer under linux with LAMP
• a computer under windows with WAMP
When I make an adjustment on an application, I have to repeat the operation on the 20 tablets one after the other. Is there a way to automate this task? What tool could I use to transfer the settings I make to the applications on a tablet over the local network? (they all have the same apps and they are all rooted)
For example :
• Adding a start page in FIREFOX or unblocking Pop-ups in this same application
• changing preferences in VLC
• Addition of a folder to be consulted in O’CLOUD (Android application which allows synchronization with the server)
• Applications to Greenify with GREENIFY
• Changing preferences in LIBRERA
• A new module in XPOSED
• A new task in TASKER
• etc.
I have a little idea using the TITANIUM data backup tool, but you still have to go through all the tablets to restore the data. Does anyone know the best way to apply tweaks to apps on a batch of tablets?
Thank you in advance for any ideas you can share with me.
Only as an idea:
You declare one tablet - which must have an external SD-card slot what can take cards >= 256GB - as the master
Code:
adb shell "setprop persist.is_master_tablet 1"
You clone this master-tablet's desired content ( create a .TAR archive ) onto this external SD-card by means of ADB
You pull created .TAR-file from master-tablet's external SD-card to Windows OS based server by means of ADB
You push this .TAR-file to all other 19 tablets by means of ADB
You extract the .TAR on all the 19 tablets by means of ADB
The steps ( except 1st one ) can be done in one-go with a Windows command ( CMD ) script ( batch-file ).
Michael5713 said:
I have got a small local network:
• A router not connected to the Internet
• 20 tablets that connect to it
• a computer under linux with LAMP
• a computer under windows with WAMP
When I make an adjustment on an application, I have to repeat the operation on the 20 tablets one after the other. Is there a way to automate this task? What tool could I use to transfer the settings I make to the applications on a tablet over the local network? (they all have the same apps and they are all rooted)
For example :
• Adding a start page in FIREFOX or unblocking Pop-ups in this same application
• changing preferences in VLC
• Addition of a folder to be consulted in O’CLOUD (Android application which allows synchronization with the server)
• Applications to Greenify with GREENIFY
• Changing preferences in LIBRERA
• A new module in XPOSED
• A new task in TASKER
• etc.
I have a little idea using the TITANIUM data backup tool, but you still have to go through all the tablets to restore the data. Does anyone know the best way to apply tweaks to apps on a batch of tablets?
Thank you in advance for any ideas you can share with me.
Click to expand...
Click to collapse
Jbib9n nk 8ø7ic
All-in-One tool for Windows. Wear OS Tools v10
It's a tool for use with any Wear OS watch. I am releasing today an improved and optimized version with several new features.
What does it do?
It is an All-in-One tool for Windows that makes it easy to do certain things with the watch, such as:
Send files to the watch such as MP3s, images, PDFs, or download files contained in the watch.
Install applications (Sideload).
Install applications in bulk
Uninstall apps of watch (Debloat).
Enable/disable Watch apps
Remove bloatware with Universal Android Debloater. [new]
Extract all the apps you have installed on the watch and mass restore them when necessary (Backup/Restore).
Get APK for Wear OS from "legacy" APK files for the phone.
Get APK for Wear OS in bulk.
Change ringtone, notification sound and alarm sound of the watch.
Mute ringtone, notification sounds, and alarm watch.
Manage vibration of ringtone, notifications or a specific application. [new]
Change screen density
Change font size.
Use the computer keyboard to type on the watch.
Force pairing the watch with Bluetooth without resetting to factory defaults.
Repair synchronization in old watches such as Moto 360 Gen 1 or Sony Smartwatch 3.
Enter ADB commands via command line
Perform advanced reboot (Recovery Mode and Bootloader Mode)
View and control the watch from the PC with scrcpy (only Wear OS 3). [new]
Take screenshots of the watch screen, and send them directly to the PC (Screenshot).
Record the watch screen, and send it directly to the PC in MP4 format (Screen record).
Optimize the Watch.
Apply custom settings such as adjust screen timeout
View watch information such as serial number, build version, Android version, resolution, battery status...
Connection to the watch can be made via Wi-Fi, via Bluetooth or via USB cable.
History of connected devices. [new]
New way to pair and connect for Wear OS 3.
Suggest IP of the watch.
Changelog:
v1.0 (Feb 13, 2021) - Initial version
v1.1 (Feb 21, 2021) - Compiled again with Pro version of the EXE converter.
v2.0 (May 19, 2022) - Added new features (backup and restore tool, screen recorder and watch information)
v3.0 (Aug 27, 2022) - Added new functions (Change font size, change watch sounds), debugged code, optimized menus
v3.1 (Aug 30, 2022) - Fixed bug in option to change ringtones and sounds.
v4.0 (Oct 15, 2022) - Added new function (optimize Watch) and restructured main menu.
v5.0 (Nov 05, 2022):
- Added "Install apps in bulk" (in option 1)
- Added "Enter ADB commands via command line" (in option 7)
- Added "Restore optimizations to default values" (in option 8)
- Added help option to get IP address and secure Wi-Fi network (in tool startup)
- Improved optimization tool (redesigned and more detailed info)
v6.0 (Jan 02, 2023):
- Added "Advanced Reset Options" (in option 7)
- Added "Enable/Disable apps" (in option 1)
- Added option to list system apps, user apps, enabled and disabled apps (in option 1)
- Added separate window for listings (in option 1 and option 4)
- Improved function to use PC keyboard (in option 7)
- Improved function for sending/receiving files (in option 3)
v7.0 (Jan 09, 2023):
- Added option to debug by Bluetooth in older watches, as Moto 360 Gen 1 or Sony Smartwatch 3 (in previous connection).
- Added option to repair synchronization in old watches (in option 7.5)
- Added option of links for reference such as news about Wear OS, firmware table... (in option 7.6)
- Added guide to download and install AOSP Wi-Fi Keyboard (in option 7.2)
- Added guide to download and install NavExplorer (in option 3)
- Improved wired connection with USB debugging (on previous connection)
- Correction of bugs
- Debugged code
v8.0 (Jan 23, 2023):
- Added tool to get APK for Wear OS from "legacy" APK files for the phone (in option 7.7)
- Added tool to get APK for Wear OS in bulk (in option 7.8)
- Added option to set ringtone and watch sounds to mute (in option 4)
- Bug fix when installing APKs (now the APK is not kept in the watch, avoiding it to occupy space).
- Fixed several bugs
v9.0 (apr 19, 2023):
- Added option to apply custom settings such as adjust screen timeout (in option 8.1).
- Added feature to suggest the IP of the watch (not Pixel Watch) by typing "find" (in previous connection).
- Added new way to pair and connect for Wear OS 3, for now, only Pixel Watch (in previous connection).
- Improved error messages when installing, uninstalling, enabling, disabling APKs (in option 1).
- Improved option to change custom sounds in ringtones, notifications and alarms (in option 4).
- Fixed bug for adding muted sounds.
- The tool is now also available in German (by @Anarchon
v10.0 (Jun 06, 2023):
- Added function to view and control the watch from the PC (screen mirror) with help of scrcpy (in option 9).
- Added tool to manage vibration for ringtone, notifications or for a specific app (option 4.4).
- Added system to automatically download adb drivers in case of absence (on previous connection).
- Added to automate downloading of necessary files (in option 3 and option 7.2).
- Added Universal debloater to remove bloatware (in option 1.6).
- Added history of connected devices by typing "log" (in previous connection).
- Added specified folder where backup/restore is located (in option 2).
- Improved screen recording function, now through scrcpy (in option 6.2).
- Improved system for entering file and package names when installing/uninstalling or other operations, no need to type it anymore, just select it from the list (in option 1).
- Improved system for selecting sound files and IDs (same system as above) (in option 4).
- Improved optimization tool (in option 8).
- Improved simultaneous connection pre-check of several devices.
- Debugged all the code and reorganized the menus.
- Resized all tool windows.
Requirements
Windows O.S.
Have the ADB drivers installed. Here is the link to download them. During installation, make sure to enable the "Add to System Path Environment" option. Here you have more information about ADB drivers. Since v10, if you don't have ADB drivers installed, they are automatically downloaded and installed as soon as you open Wear OS Tools. [new]
Connect the watch and the phone to the same Wi-Fi network.
Enable debugging over Wi-Fi on the watch. On the watch, go to Settings > system > About and tap "Build Number" several times until you see a message that says "you are now a developer". Then go to Settings > developer options and enable "ADB debugging" and "Debugging over Wi-Fi".
If you want to connect the watch to the phone via Bluetooth or Cable USB, follow the steps detailed on the tool.
Considerations
The tool is available in English (EN) and Spanish (ES).
Tested on TWP3 and TWP5, please give feedback on other watches.
To find out the IP address of the watch, just go to "Debugging over Wi-Fi" in Settings > developer options. Under that option, you will see the IP. You can also see it in Settings > Connectivity > Wi-Fi > "Your Wi-Fi network".
You can connect the watch by USB cable, by bluetooth or by Wi-Fi network.
Wear OS watches are a bit unstable to stay connected to the Wi-Fi network especially if it is connected by Bluetooth with the phone, to make sure it connects smoothly when using the tool enable the "Enable Wi-Fi automatically when charging" option in Settings > developer options, and plug the watch to the charger. Another trick is to momentarily deactivate Bluetooth in the watch, the Wi-Fi network will be activated in a few seconds.
Since v10 you can use the tool in multitasking mode, i.e. you can for example backup watch apps while you are applying custom configurations. [new]
When you have finished, turn off "ADB debugging" on the watch, otherwise it will drain your watch battery...
Where to download?
Wear OS Tool v10
Method
Download and unzip in a folder the file from the "Where to download" section.
Make sure you meet all the points in the "requirements" section.
Locate the IP address of the watch as explained in the "considerations" section.
Run Wear OS Tools and enter the IP address.
If your watch is Wear OS 2 enter 5555 or nothing in the port number, and skip to step 7.
If your watch is Wear OS 3, enter the port number, which will be different from 5555
.
Select "Pair new device" or "Wireless debugging" (This step is only performed the first time) and enter the IP, port and pairing code, then re-enter the IP and port number as in the previous step.
A notification will probably appear on the watch asking "Allow debugging?", select "Always allow from this computer".
In the tool, choose a function to run and follow the instructions on the screen.
{
"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"
}
Clarification on the new pairing procedure in Pixel Watch.
In the update in March 2023 for Pixel Watch, Google has implemented the new adb pairing procedure that had already been for some time on Android 11 and higher phones. It should be remembered that Wear OS 3 is based on Android 11, that is, watches like Pixel Watch, Galaxy Watch 5 or Fossil Gen 6. For now, this procedure is only implemented on Pixel Watch, but probably in the coming months it will be implemented on the other Wear OS 3 watches.
The process is that you must first pair the watch with a device such as a PC or smartphone, entering a random pairing code and a random port number (only the first time you pair to the device) and then the connection is made through the IP address as it was done so far, but with the difference that the port number is random (it is not 5555 as before) and you will have to consult it on the watch every time you connect the watch in developer mode.
Wear OS 2 watches, and for now Wear OS 3 watches (except Pixel Watch) connect the watch as usual and with fixed port number, i.e. 5555.
What custom settings and optimizations are offered?
Apply Custom Settings on the watch from the PC (option 8) :
Hide/Display developer options menu.
Enable/Disable GPS location.
Adjust screen timeout beyond limits.
Enable/Disable ambient display.
Enable/Disable theater mode.
Enable/Disable auto brightness.
Adjust brightness manually.
Apply optimizations (option 8):
Double the speed of animations and transitions.
Optimizations to improve performance and reduce battery consumption.
Enable/disable adaptive battery management.
Enable/disable the processing speed management system.
Enable/disable useless configuration items in Galaxy Wtach 4/5.
Manage Vibration (option 4):
Enables/disables vibration when receiving calls.
Enable/disable vibration when receiving notifications.
Enable/disable vibration when touching the watch screen.
Enable/disable vibration for a specific application.
Delete cache memory (option 8).
Optimize performance (option 8) .
Reduce battery drain with the dexopt optimization method (option 8) .
To-Do
Force pairing with Wear OS 3 watches
Improve optimization tool with more optimization tasks (any suggestions from this thread for Samsung Galaxy devices or this thread for Pixel devices?).
Porting code to Linux and Mac via Java or Python.
I share this tool for free, to code the tool as it is now having taken me quite some time, I just ask for some feedback for the one who download it and try it.
If you are going to use it, please comment what you think or what bugs you see or what new features you suggest. Any opinion is interesting.
Version Information
Status: Stable
Current Version: v10.0
Release Date: 13/02/2021
Last Update Date: 06/06/2023
Big thank you for that!
And also thanks for sharing the information about changing ringtones etc. I was really surprised, as i have seen that it isn't easily possible to change the notification sound on Wear Os...
It made me think i'm back in stone age
Thank you
will good to try it out
Hello, I update the tool because it had a bug in the option to change ringtones and sounds. It did not detect the sound correctly and you only saw it on reboot, now it detects it immediately.
WearOS Tools v3.1
For the effort, if you use it, feedback, please.
Hello
When i try to open the exe, the window open and close fast, but i can read
Parameter format not correct
Then show the path( i changed the default path ) to the folder i put temp and documents with a message "is no recognizable as an internal or external command, operable program or batch file"
Tbnitz said:
Hello
When i try to open the exe, the window open and close fast, but i can read
Parameter format not correct
Then show the path( i changed the default path ) to the folder i put temp and documents with a message "is no recognizable as an internal or external command, operable program or batch file"
Click to expand...
Click to collapse
What operating system do you use?
Try disabling the antivirus temporarily.
bernarbernuli said:
What operating system do you use?
Try disabling the antivirus temporarily.
Click to expand...
Click to collapse
Windows 10
same behavior with antivirus disabled
Works great on Windows 11 ARM inside Parallels on Mac, appreciate your work.
Hello, I update the tool. The main menu has been restructured, and a watch optimization tool has been added.
I take this opportunity to remind the function 2 of the tool about extract/restore applications from our watch. In the coming weeks there will be update for several watches with Qualcomm Snapdragon 4100 microprocessor as Ticwatch Pro 3, Fossil Gen 6... which will reset the watch to factory settings, and you will lose the apps you had previously installed, this tool allows you to extract the apps to your PC and restore them once updated to Wear OS 3.
It also serves to migrate your apps from your old watch if you buy the new watch, such as the Samsung Galaxy Watch 5 or Google Pixel Watch.
Wear OS Tool v4.0
bernarbernuli said:
Hello, I update the tool. The main menu has been restructured, and a watch optimization tool has been added.
I take this opportunity to remind the function 2 of the tool about extract/restore applications from our watch. In the coming weeks there will be update for several watches with Qualcomm Snapdragon 4100 microprocessor as Ticwatch Pro 3, Fossil Gen 6... which will reset the watch to factory settings, and you will lose the apps you had previously installed, this tool allows you to extract the apps to your PC and restore them once updated to Wear OS 3.
It also serves to migrate your apps from your old watch if you buy the new watch, such as the Samsung Galaxy Watch 5 or Google Pixel Watch.
Wear OS Tool v4.0
Click to expand...
Click to collapse
This is the great tool, and extracting/restoring apps is very useful, made use of it several times, much appreciated!
bernarbernuli
still having the same problem with v4.0
now i get a screenshot of the error, the screen pop for about a second and close
Tbnitz said:
bernarbernuli
still having the same problem with v4.0
now i get a screenshot of the error, the screen pop for about a second and close
Click to expand...
Click to collapse
This tool uses the Windows command line, does it work on your PC "cmd"? Is it a Windows Lite or something like that?
bernarbernuli said:
This tool uses the Windows command line, does it work on your PC "cmd"? Is it a Windows Lite or something like that?
Click to expand...
Click to collapse
Windows 10 full, i use adb all the time.
maybe because some of the folders to the temp folder have space in the name?
Tbnitz said:
Windows 10 full, i use adb all the time.
maybe because some of the folders to the temp folder have space in the
Click to expand...
Click to collapse
Go to the Windows start bar, type ah "cmd" (without the quotes), go to the folder where you have the tool with "CD" command, type "WearOS Tools v4.0_EN.exe".
If you have an error running it, now it will not disappear in a second.
Try also to copy the tool to the root directory of the Windows hard disk, usually C.
bernarbernuli said:
Go to the Windows start bar, type ah "cmd" (without the quotes), go to the folder where you have the tool with "CD" command, type "WearOS Tools v4.0_EN.exe".
If you have an error running it, now it will not disappear in a second.
Try also to copy the tool to the root directory of the Windows hard disk, usually C.
Click to expand...
Click to collapse
Same msg as the screenshot whenever i put the exe
Tbnitz said:
Same msg as the screenshot whenever i put the exe
Click to expand...
Click to collapse
In order not to lengthen this post thread about your problem, you could be more detailed, do you recognize "Pasta" folder?, have you tried to run any exe file from cmd?, where have you installed Windows?, have you tried to copy the tool in the root directory of the Windows hard disk? I don't know, give details, because if I'm not going a bit blind, the error you show in the screenshot is relative to a folder path on your PC.
bernarbernuli said:
In order not to lengthen this post thread about your problem, you could be more detailed, do you recognize "Pasta" folder?, have you tried to run any exe file from cmd?, where have you installed Windows?, have you tried to copy the tool in the root directory of the Windows hard disk? I don't know, give details, because if I'm not going a bit blind, the error you show in the screenshot is relative to a folder path on your PC.
Click to expand...
Click to collapse
Pasta folder is a incomplete name, "Pasta do sistema" is the full name and inside i put the system temp folder.
I tried with cmd, on root C:
Maybe because the path to temp folder has a folder with space in the name?
Tbnitz said:
Pasta folder is a incomplete name, "Pasta do sistema" is the full name and inside i put the system temp folder.
I tried with cmd, on root C:
Maybe because the path to temp folder has a folder with space in the name?
Click to expand...
Click to collapse
Yes, that's most likely what it is, you have an unusual Windows installation.
bernarbernuli said:
Yes, that's most likely what it is, you have an unusual Windows installation.
Click to expand...
Click to collapse
Is not unusual, just moved temp out of the ssd
any suggestions?
will it work to just "grant" permission like this?
pm grant ... android.permission.UPDATE_DEVICE_STATS
Click to expand...
Click to collapse
but what it the package that needs it?