Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
sndance
Old
(Last edited by sndance; 28th February 2008 at 09:02 AM.) Reason: Expanded introduction to clear up the goal of this excercise a bit
#1  
Member - OP
Thanks Meter 0
Posts: 30
Join Date: Sep 2007
Cool [REF]Replace Biotouch (HTC Cube), save 5Mb of memory and gain functionality

Hey peeps,

Here's a nice way of saving about 5 megs of memory without loosing functionality, and gaining much more configuration freedom to your hearts content.

The HTC Touch has a service running in the background that controls finger-friendly kinetic scrolling and launches the Cube when you swipe up from the bottom. The biggest memory hogger of this process is the Cube itself that once it's launched stays in memory and eats about 5 megs of precious RAM.

Stopping the Cube from launching is easy enough but you will also loose functionality this way that you may not want to do without so I was looking for some alternatives.

Alternative 1:
I tried fTouchFlo (available on this forum somewhere), a gestures based application launcher, but found it takes up about 1.2 megs of RAM just for the launcher (you won't use the fTouchFlo scrolling on a Touch) and does not react entirely the way I want it to, ie. I only want it to detect gestures when I start swiping away from a screen edge, not when the swipe starts in the middle of the screen. I also have not found a way to completely remove the service that controls the Cube launch (think this would also kill finger scrolling) so fTouchFlo just eats more RAM then I would like it to on a HTC Touch that has the basic gesture functionality built-in already anyway.

Alternative 2:
I also looked long and hard for a finger friendly task manager but to no avail, until I discovered MortButtons. Not only does this tool contain the only finger-friendly task manager around, it's main features also allows it to be an excellent and easy to configure Cube alternative. Combine this with the default gesture based Cube launcher in the HTC Touch and you save a big chunk of RAM without loosing functionality!

So here's how it goes:

Download VJBrisk from
http://www.vijay555.com/?Releases:VJVolubilis

GSFinder (may also work with TotalCommander but I haven't tried) from
http://www.google.de/search?q=gsfinder

MortButtons from
http://www.sto-helit.de/

Install the tools:
- Install GSFinder (you could also use TotalCommander if you prefer)
- Install MortButtons and play a bit with the options and configuration

For the next steps I will assume that you have made yourself familiar with the above tools already. These steps described are for Windows Mobile 6 and above, yet they may also work for WM5 (here the Biotouch startup link is located in \Windows\Startup if I am not mistaken):
- Using GSFinder go into the View|Options... menu, uncheck all checkboxes in the Hide section
- Browse to \Windows and find LaunchStartupApp.lst (could also be called StartupApp on some OS versions), copy this in some other folder and open it on your desktop PC in notepad. My version looks like this:
Code:
#\Windows\WiFiInit.exe#
#\windows\startkey.exe#
#\Windows\StartUPBioTouch.exe#
Delete the line with StartUPBioTouch.exe and save, then copy back to your Touch
(Note: I deleted all entries and copied back an empty file, am not missing anthing, WiFi, BT, GPRS, ActiveSync all still works and saved even some extra memory)
- Using GSFinder, copy your new LaunchStartupApp.lst and paste it into \Windows, you will be asked to confirm to overwrite, do so
- Restart your Touch, it will now start without the Cube in memory, DO NOT use the Cube until you finish all steps described here
- Use GSFinder to show the properties of \Windows\Biotouch.exe, remove the read only check
- Create a shortcut to \Program Files\MortButtons\MBRunner.exe (or wherever you installed it) and rename it to VJTarget.lnk
- Edit the shortcut (with GSFinder or use notepad on your computer) and change it as such:
Code:
41#"\Program Files\MortButtons\MBRunner.exe" "\Program Files\MortButtons\Button1.mbi"
- Run the shortcut by clicking on it, Mortbuttons should start, if it didn't than you need to double-check the shortcut and make sure it points to MBRunner.exe and has the correct path to Button1.mbi
- Put the shortcut into \Windows
- Now, using GSFinder, browse to where you have stored VJBrisk.exe, rename it to Biotouch.exe and copy and past it into \Windows, you will be asked to overwrite, choose Yes.

That's it. Now, swipe up, like you would when starting the Cube et voila, instead of the Cube you now get Mortbuttons, fully configurable with loads of animations and gesture shortcuts to choose from.

I have shortcuts on my home screen for most of the applications the Cube has (Internet, Music, Photos, Communication etc) so I never really needed the Cube except for the quick-dial contacts page and communications manager. So, I have set up MortButtons to show a list of contacts with pictures (this is just as easy to configure with MB as with the Cube quick-dial) on Button1.mbi, then when I swipe to the left it switches to TaskList.mbi (fantastic finger-friendly big button task manager included with MB). I've set up the gestures to exit MB when I swipe down, just like the Cube does. MB is fully skinnable even allows a transparent background, can do transition animations between the panels etc. Up to 5 button pages + task manager can be configured by default but you can always add more.

Have fun with this!

Cheers and special thanks to Mort for MB!

Sndance

Ps: the more pages you have in MB, the more memory it will take up, 2 pages eats up about 500kb (the Cube used almost 6 Megs remember ) but you can also set it so it does not stay in memory after closing (MortButtons, not the Cube).

PPS: attached MortButtons (check Morts site for newer releases), GSFinder, and all files to copy into \Windows (includes VJBrisk already renamed to Biotouch, a shortcut to MB installed on the device - not storage card - and an empty LaunchStartupApp.lst)

PPS: screenshots attached, if you are wondering what is on my Today screen: Ultimate Launch (www.ultimatelaunch.de) and RLToday (www.rotlaus-software.de) for iLook buttons and functionality. These give me the freedom not to have to use the Cube and offers tons of functionality. psnap000.jpg is the Today screen, swipe to the left gives me psnap001.jpg (settings and such) and swipe to the right psnap002.jpg (calendar+)
Attached Thumbnails
Click image for larger version

Name:	psnap000.jpg
Views:	1738
Size:	13.0 KB
ID:	72996   Click image for larger version

Name:	psnap001.jpg
Views:	1024
Size:	12.9 KB
ID:	72997   Click image for larger version

Name:	psnap002.jpg
Views:	1096
Size:	13.7 KB
ID:	72998   Click image for larger version

Name:	psnap003.jpg
Views:	1074
Size:	5.4 KB
ID:	73043   Click image for larger version

Name:	psnap004.jpg
Views:	1153
Size:	7.3 KB
ID:	73044  

Attached Files
File Type: zip copy_to_windows.zip - [Click for QR Code] (9.3 KB, 327 views)
File Type: zip MortButtons-2.51b11.zip - [Click for QR Code] (655.9 KB, 274 views)
File Type: zip gsf_ppc104e.zip - [Click for QR Code] (751.8 KB, 298 views)
 
flaviopac
Old
(Last edited by flaviopac; 27th February 2008 at 10:40 AM.)
#2  
flaviopac's Avatar
Senior Member
Thanks Meter 13
Posts: 1,722
Join Date: Jan 2008
Location: ۩ Firenze ۩
This is very usefull...
Could you upload your Mortbutton's file?


Many thanks....
LG Optimus One P500

 
absorber786
Old
#3  
absorber786's Avatar
Senior Member
Thanks Meter 0
Posts: 212
Join Date: Jan 2008
Location: Johannesburg
Quote:
Originally Posted by sndance View Post
(the Cube used almost 6 Megs remember ) but you can also set it so it does not stay in memory after closing.
Hi sndance

How would this be accomplished? What needs to be done?
HTC Hero
 
daverage
Old
#4  
Senior Member
Thanks Meter 0
Posts: 134
Join Date: Aug 2007
Outstanding, this is a dream!!!
DaveRage
www.yetanotherreviewsite.co.uk
Games Reviews written by gamers for gamers
 
sndance
Old
(Last edited by sndance; 27th February 2008 at 02:40 PM.)
#5  
Member - OP
Thanks Meter 0
Posts: 30
Join Date: Sep 2007
Quote:
Originally Posted by absorber786 View Post
Hi sndance

How would this be accomplished? What needs to be done?
Just to make sure there is no misunderstanding, I was referring to MortButtons staying in RAM, not the Cube which would not be used anymore if you follow my steps.

To do this for MortButtons:
- Start "MortButtons Setup"
- Choose the "Extended" item from the menu
- Uncheck "Stay in memory"

This will prevent MortButtons from staying in RAM, for me this means only about 500kb difference so I mostly leave it in RAM. I only have 1 custom panel and the task manager, if you have more panels loaded then Mort may use more RAM. Check with a Task Manager (eg. the new Task Manager included with WM 6.1) that shows the individual processes and check for MortButtons.exe to see how much RAM MB is using.

Cheers

sndance
 
sndance
Old
(Last edited by sndance; 28th February 2008 at 09:11 AM.) Reason: Found where MortButtons stores the settings
#6  
Member - OP
Thanks Meter 0
Posts: 30
Join Date: Sep 2007
Quote:
Originally Posted by flaviopac View Post
This is very usefull...
Could you upload your Mortbutton's file?


Many thanks....
I'm not sure where the configurations for gestures and behaviour are stored so I cannot upload anything sorry. But here is how I've configured mine:

Quote:
1/ Run MortButtons Setup
2/ Choose "Handling" from the menu, enable "Finger Gestures"
3/ Click "Configure Gestures"
3/1/ Here I set left to "Task list", right "Do nothing", Upwards "Do nothing" and Downwards to "Exit"
3/2/ Press OK and again to go back to the main menu
4/ Choose "Display"
4/1/ here I chose "GreyAquaWide" from the Skin dropdown, Entry Size "Big" and "User background" for Display Style pointing to a purely black background.jpg. Further I also checked "Hide menu bar". To max speed I set all transitions (Click "transitions" to enter this menu) to "No transition", you can even choose a cube transition effect here if you like.
4/2/ Press OK to go back to the main menu
5/ Choose "Task List"
5/1/ Here I removed "ActiveSync" from the list and unchecked "Close" and "Close all but current"
5/2/ Press OK to go back
6/ Choose Extended from the main menu
6/1/ Here I unchecked everything except "Stay in memory", speed was first priority for me.
6/2/ Press OK to go back
7/ Finally I built my contacts page, choose "Edit menus" from the main menu
7/1/ Choose MortButton1, select "Set entries" button
7/2/ Click Add
7/3/ Open the contacts folder and choose "Call Contact", press OK
7/4/ Choose your contact from you phone book, press OK
7/5/ Now either it picked up the contact photo from your phone book or you can assign it a different one by clicking Icon
7/6/ Press OK, then Close
8/ You are back in the main menu, Press Exit
There is so much more to explore, you can add multiple different items on one button page like contacts and applications together on one page. It is even possible to rotate the screen before launching an application! You can add buttons that link button pages together or use gestures to navigate.

I kept it simple - for now - with just a contacts page upon calling MortButtons when swiping up like I did for the Cube and a following swipe to the left brings up the integrated task manager. A swipe to the bottom and MortButtons dissappears again.

Cheers

sndance


Edit: MortButtons stores the display and handling configuration in the registry, HKCU\Software\Mort\MortButtons, so far MB does not support exporting these settings to a file.
 
flaviopac
Old
#7  
flaviopac's Avatar
Senior Member
Thanks Meter 13
Posts: 1,722
Join Date: Jan 2008
Location: ۩ Firenze ۩
Quote:
Originally Posted by sndance View Post
I'm not sure where the configurations for gestures and behaviour are stored so I cannot upload anything sorry. But here is how I've configured mine:



There is so much more to explore, you can add multiple different items on one button page like contacts and applications together on one page. It is even possible to rotate the screen before launching an application! You can add buttons that link button pages together or use gestures to navigate.

I kept it simple - for now - with just a contacts page upon calling MortButtons when swiping up like I did for the Cube and a following swipe to the left brings up the integrated task manager. A swipe to the bottom and MortButtons dissappears again.

Cheers

sndance



Many thanks...
I'm going to try it asap....
LG Optimus One P500

 
sndance
Old
#8  
Member - OP
Thanks Meter 0
Posts: 30
Join Date: Sep 2007
Added 2 new images showing my contacts page and the task manager at work.

Cheers

sndance
 
absorber786
Old
#9  
absorber786's Avatar
Senior Member
Thanks Meter 0
Posts: 212
Join Date: Jan 2008
Location: Johannesburg
Quote:
Originally Posted by sndance View Post
Just to make sure there is no misunderstanding, I was referring to MortButtons staying in RAM, not the Cube which would not be used anymore if you follow my steps.

To do this for MortButtons:
- Start "MortButtons Setup"
- Choose the "Extended" item from the menu
- Uncheck "Stay in memory"

This will prevent MortButtons from staying in RAM, for me this means only about 500kb difference so I mostly leave it in RAM. I only have 1 custom panel and the task manager, if you have more panels loaded then Mort may use more RAM. Check with a Task Manager (eg. the new Task Manager included with WM 6.1) that shows the individual processes and check for MortButtons.exe to see how much RAM MB is using.

Cheers

sndance

Hi sndance,

Thanks for clearing that up. I was under the impression this could be done with the cube. It would be really awesome if it could be done though.

At present I am using PointUI, which i am highly impressed with, so i dont think i will be trying out your suggestions, sorry


Regards
HTC Hero
 
netzcoyote
Old
#10  
Member
Thanks Meter 2
Posts: 77
Join Date: Nov 2007
Thanks for finding out ow to keep the cube from launching, at startup, first of all.

Haven't looked into MortButtons, as I'm using Ultimatelauncher exclusively so far, but if it's that customizable, I'll give it a shot.

Cheers,
mc
----------------------------------------------------
HTC Touch ELF running Blue Elves Rom V5.0

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

One Stop Guide Shop for the Newbie and Dev

It’s been well established that XDA-Developers isthedestination for resources relating to … more

What Happened at Google I/O 2013 – XDA Developer TV

Unless you just emerged from a deep, dark, dank cavern under the Earth, you know … more

Forums Added for the LG Optimus G Pro and Sony Xperia Tablet Z

Not too long ago, we talked about how Sony was continuing its AOSP efforts on … more

Permanent Screen Off for the Visually Impaired

Most of us take the simple act of waking up our devices and having a quick glance at the … more